summary refs log tree commit diff stats
path: root/compiler/semgnrc.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-04-10 20:41:16 +0800
committerGitHub <noreply@github.com>2024-04-10 14:41:16 +0200
commit9b378296f65fff962225acc1bef2b3811fffda03 (patch)
tree882e043308e3a81d125666a6cff4f4bede5e0c2f /compiler/semgnrc.nim
parent72d0ba2df534109064badde1a1b26ae53f22d44d (diff)
downloadNim-9b378296f65fff962225acc1bef2b3811fffda03.tar.gz
fixes addr/hiddenAddr in strictdefs (#23477)
Diffstat (limited to 'compiler/semgnrc.nim')
-rw-r--r--compiler/semgnrc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semgnrc.nim b/compiler/semgnrc.nim
index 03af12df2..638b4311b 100644
--- a/compiler/semgnrc.nim
+++ b/compiler/semgnrc.nim
@@ -237,7 +237,7 @@ proc semGenericStmt(c: PContext, n: PNode,
     #var s = qualifiedLookUp(c, n, luf)
     #if s != nil: result = semGenericStmtSymbol(c, n, s)
     # XXX for example: ``result.add`` -- ``add`` needs to be looked up here...
-    var dummy: bool
+    var dummy: bool = false
     result = fuzzyLookup(c, n, flags, ctx, dummy)
   of nkSym:
     let a = n.sym