temptyseqs works again
This commit is contained in:
parent
683b82a2ec
commit
3a8f7d505b
4 changed files with 25 additions and 17 deletions
|
|
@ -683,6 +683,7 @@ proc track(tracked: PEffects, n: PNode) =
|
|||
for child in n:
|
||||
let last = lastSon(child)
|
||||
if child.kind == nkIdentDefs and last.kind != nkEmpty:
|
||||
# prevent the all too common 'var x = int' bug: XXX
|
||||
track(tracked, last)
|
||||
for i in 0 .. child.len-3:
|
||||
initVar(tracked, child.sons[i], volatileCheck=false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue