mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
Fix a CI failure during koch doc
This commit is contained in:
committed by
Andreas Rumpf
parent
e63b673ce2
commit
2b66d66567
@@ -996,7 +996,8 @@ proc track(tracked: PEffects, n: PNode) =
|
||||
createTypeBoundOps(tracked, x[1].typ, n.info)
|
||||
|
||||
if x.kind == nkExprColonExpr:
|
||||
notNilCheck(tracked, x[1], x[0].sym.typ)
|
||||
if x[0].kind == nkSym:
|
||||
notNilCheck(tracked, x[1], x[0].sym.typ)
|
||||
checkForSink(tracked.config, tracked.owner, x[1])
|
||||
else:
|
||||
checkForSink(tracked.config, tracked.owner, x)
|
||||
|
||||
Reference in New Issue
Block a user