mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
make tests green again
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user