diff options
author | Araq <rumpf_a@web.de> | 2015-04-03 17:08:08 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-04-04 01:19:31 +0200 |
commit | f767e1749e19eb22f0e4ddb128e5d1925b8eb443 (patch) | |
tree | 3a4d6f671644f3374f0440ab2234f95c92ef89d4 /compiler/semtempl.nim | |
parent | 3c54a4a438b91d9396cc7503ddf956e64ab30304 (diff) | |
download | Nim-f767e1749e19eb22f0e4ddb128e5d1925b8eb443.tar.gz |
don't store the scope for routines
Diffstat (limited to 'compiler/semtempl.nim')
-rw-r--r-- | compiler/semtempl.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semtempl.nim b/compiler/semtempl.nim index b6efa5119..161d22fc1 100644 --- a/compiler/semtempl.nim +++ b/compiler/semtempl.nim @@ -482,7 +482,7 @@ proc semTemplateDef(c: PContext, n: PNode): PNode = s = semIdentVis(c, skTemplate, n.sons[0], {}) styleCheckDef(s) # check parameter list: - s.scope = c.currentScope + #s.scope = c.currentScope pushOwner(s) openScope(c) n.sons[namePos] = newSymNode(s, n.sons[namePos].info) |