summary refs log tree commit diff stats
path: root/compiler/semexprs.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-09-05 08:21:01 +0200
committerGitHub <noreply@github.com>2019-09-05 08:21:01 +0200
commit58bcf6cd46fe9108f2dced59c612153d2951aee2 (patch)
treee485be2b109f7a75295f20faa779676ccf4f188d /compiler/semexprs.nim
parentc2ba0ee144adfaea6f2e1cc93a20d022149f6ccf (diff)
downloadNim-58bcf6cd46fe9108f2dced59c612153d2951aee2.tar.gz
fixes #12121 (#12126)
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r--compiler/semexprs.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim
index 2d33c742b..1785ae143 100644
--- a/compiler/semexprs.nim
+++ b/compiler/semexprs.nim
@@ -1896,7 +1896,6 @@ proc expectString(c: PContext, n: PNode): string =
 
 proc newAnonSym(c: PContext; kind: TSymKind, info: TLineInfo): PSym =
   result = newSym(kind, c.cache.idAnon, getCurrOwner(c), info)
-  result.flags = {sfGenSym}
 
 proc semExpandToAst(c: PContext, n: PNode): PNode =
   let macroCall = n[1]