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
|
|
@ -17,7 +17,7 @@ import
|
|||
intsets, strtabs, ast, astalgo, msgs, renderer, magicsys, types, idents,
|
||||
strutils, options, dfa, lowerings, tables, modulegraphs, msgs,
|
||||
lineinfos, parampatterns, sighashes, liftdestructors, optimizer,
|
||||
cursor_inference
|
||||
varpartitions
|
||||
|
||||
from trees import exprStructuralEquivalent, getRoot
|
||||
|
||||
|
|
@ -1002,7 +1002,7 @@ proc injectDestructorCalls*(g: ModuleGraph; owner: PSym; n: PNode): PNode =
|
|||
echoCfg(c.g)
|
||||
echo n
|
||||
|
||||
computeCursors(n, g.config)
|
||||
computeCursors(owner, n, g.config)
|
||||
|
||||
var scope: Scope
|
||||
let body = p(n, c, scope, normal)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue