make tests green again
This commit is contained in:
parent
4974f999c3
commit
6617b8deee
1 changed files with 1 additions and 1 deletions
|
|
@ -708,7 +708,7 @@ proc track(tracked: PEffects, n: PNode) =
|
|||
if getConstExpr(tracked.ownerModule, n, tracked.graph) != nil:
|
||||
return
|
||||
if n.typ != nil:
|
||||
if tracked.owner.kind != skMacro:
|
||||
if tracked.owner.kind != skMacro and n.typ.skipTypes(abstractVar).kind != tyOpenArray:
|
||||
createTypeBoundOps(tracked.c, n.typ, n.info)
|
||||
if a.kind == nkCast and a[1].typ.kind == tyProc:
|
||||
a = a[1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue