diff options
author | Clyybber <darkmine956@gmail.com> | 2020-08-28 22:18:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 22:18:09 +0200 |
commit | 13e659cfec83eb3c2c3c2bbbf10d01ba59bc0d5b (patch) | |
tree | 6df6a9dfc3b5f0ba7f27452c8f84b55a957b73ba /compiler/semtempl.nim | |
parent | f8c48fc1863a243718acf86b699baed1a5c1512e (diff) | |
download | Nim-13e659cfec83eb3c2c3c2bbbf10d01ba59bc0d5b.tar.gz |
Big compiler Cleanup (#14777)
Diffstat (limited to 'compiler/semtempl.nim')
-rw-r--r-- | compiler/semtempl.nim | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/semtempl.nim b/compiler/semtempl.nim index e771e17c4..a1afd2c6d 100644 --- a/compiler/semtempl.nim +++ b/compiler/semtempl.nim @@ -336,7 +336,6 @@ proc semTemplBody(c: var TemplCtx, n: PNode): PNode = let s = qualifiedLookUp(c.c, n, {}) if s != nil: if s.owner == c.owner and s.kind == skParam and sfTemplateParam in s.flags: - # oldCheck(c, sfGenSym notin s.flags or c.noGenSym == 0): incl(s.flags, sfUsed) result = newSymNode(s, n.info) onUse(n.info, s) |