parent
3f00a738db
commit
61c85e034d
2 changed files with 11 additions and 0 deletions
|
|
@ -728,6 +728,9 @@ proc p(n: PNode; c: var Con; s: var Scope; mode: ProcessMode): PNode =
|
|||
for i in ord(n.kind in {nkObjConstr, nkClosure})..<n.len:
|
||||
if n[i].kind == nkExprColonExpr:
|
||||
result[i][1] = p(n[i][1], c, s, m)
|
||||
elif n[i].kind == nkRange:
|
||||
result[i][0] = p(n[i][0], c, s, m)
|
||||
result[i][1] = p(n[i][1], c, s, m)
|
||||
else:
|
||||
result[i] = p(n[i], c, s, m)
|
||||
if mode == normal and isRefConstr:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue