diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-02-24 00:32:03 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-02-24 00:32:14 +0100 |
commit | 2d546ca0ac80486b8f31e389ef19e4d65093a1fa (patch) | |
tree | 68b582f85b7d0da2d871b233a4a9be153c93dd97 /compiler/semexprs.nim | |
parent | 22789a0bfc326ae6a292679b4e9d9eb2a295c26a (diff) | |
download | Nim-2d546ca0ac80486b8f31e389ef19e4d65093a1fa.tar.gz |
fixes #5417
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r-- | compiler/semexprs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 542d7b4e3..d9a5f6c50 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -2107,7 +2107,7 @@ proc semBlock(c: PContext, n: PNode): PNode = var labl = newSymG(skLabel, n.sons[0], c) if sfGenSym notin labl.flags: addDecl(c, labl) - n.sons[0] = newSymNode(labl, n.sons[0].info) + n.sons[0] = newSymNode(labl, n.sons[0].info) suggestSym(n.sons[0].info, labl) styleCheckDef(labl) n.sons[1] = semExpr(c, n.sons[1]) |