Fix a CI failure during koch doc
This commit is contained in:
parent
e63b673ce2
commit
2b66d66567
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue