From 13e659cfec83eb3c2c3c2bbbf10d01ba59bc0d5b Mon Sep 17 00:00:00 2001 From: Clyybber Date: Fri, 28 Aug 2020 22:18:09 +0200 Subject: Big compiler Cleanup (#14777) --- compiler/semtempl.nim | 1 - 1 file changed, 1 deletion(-) (limited to 'compiler/semtempl.nim') 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) -- cgit 1.4.1-2-gfad0