dfa.nim: track object/tuple field accesses more precisely; sink(o.x); sink(o.y) needs to compile; activate the tuple unpacking transf.nim bugfix
This commit is contained in:
parent
01f09567c4
commit
045e026d0e
8 changed files with 135 additions and 47 deletions
|
|
@ -1009,8 +1009,8 @@ proc transform(c: PTransf, n: PNode): PTransNode =
|
|||
result = transformYield(c, n)
|
||||
else:
|
||||
result = transformSons(c, n)
|
||||
#of nkAsgn:
|
||||
# result = transformAsgn(c, n)
|
||||
of nkAsgn:
|
||||
result = transformAsgn(c, n)
|
||||
of nkIdentDefs, nkConstDef:
|
||||
result = PTransNode(n)
|
||||
result[0] = transform(c, n[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue