make the CIs happy
This commit is contained in:
parent
7640a230fc
commit
fb3681b425
1 changed files with 1 additions and 1 deletions
|
|
@ -834,7 +834,7 @@ proc track(tracked: PEffects, n: PNode) =
|
||||||
let loopBody = n[n.len-1]
|
let loopBody = n[n.len-1]
|
||||||
if tracked.owner.kind != skMacro and iterCall.len > 1:
|
if tracked.owner.kind != skMacro and iterCall.len > 1:
|
||||||
# XXX this is a bit hacky:
|
# XXX this is a bit hacky:
|
||||||
if iterCall[1].typ.skipTypes(abstractVar).kind notin {tyVarargs, tyOpenArray}:
|
if iterCall[1].typ != nil and iterCall[1].typ.skipTypes(abstractVar).kind notin {tyVarargs, tyOpenArray}:
|
||||||
createTypeBoundOps(tracked.c, iterCall[1].typ, iterCall[1].info)
|
createTypeBoundOps(tracked.c, iterCall[1].typ, iterCall[1].info)
|
||||||
track(tracked, iterCall)
|
track(tracked, iterCall)
|
||||||
track(tracked, loopBody)
|
track(tracked, loopBody)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue