cursor and mutation tracking fixes (#15113)
* fixes #15110 * fixes #15096 * prepare varpartitions for cursor inference * new cursor inference begins to work * make tests green
This commit is contained in:
parent
32c6146200
commit
d130175342
8 changed files with 311 additions and 368 deletions
|
|
@ -826,6 +826,8 @@ proc trackCall(tracked: PEffects; n: PNode) =
|
|||
case op[i].kind
|
||||
of tySink:
|
||||
checkForSink(tracked.config, tracked.owner, n[i])
|
||||
of tyVar:
|
||||
tracked.hasDangerousAssign = true
|
||||
#of tyOut:
|
||||
# consider this case: p(out x, x); we want to remark that 'x' is not
|
||||
# initialized until after the call. Since we do this after we analysed the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue