diff options
author | Araq <rumpf_a@web.de> | 2019-04-15 17:57:59 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-04-16 10:35:43 +0200 |
commit | 045e026d0ee4e6decc4f22f1f9cbb0bdd8bc3b45 (patch) | |
tree | 50b70427b53bc39ce6df075eaccbfebd74663122 /compiler/transf.nim | |
parent | 01f09567c43031d3d35a54c8856d79f6cd1d4bf7 (diff) | |
download | Nim-045e026d0ee4e6decc4f22f1f9cbb0bdd8bc3b45.tar.gz |
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
Diffstat (limited to 'compiler/transf.nim')
-rw-r--r-- | compiler/transf.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim index febe65d73..c455e3319 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -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]) |