mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-17 06:21:18 +00:00
breaking change: hygienic templates (undocumented)
This commit is contained in:
@@ -50,7 +50,9 @@ proc symChoice(c: PContext, n: PNode, s: PSym): PNode =
|
||||
a = nextOverloadIter(o, c, n)
|
||||
inc(i)
|
||||
if i > 1: break
|
||||
if i <= 1:
|
||||
if i <= 1:
|
||||
# XXX this makes more sense but breaks bootstrapping for now:
|
||||
# and s.kind notin routineKinds:
|
||||
result = newSymNode(s, n.info)
|
||||
markUsed(n, s)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user