From 045e026d0ee4e6decc4f22f1f9cbb0bdd8bc3b45 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 15 Apr 2019 17:57:59 +0200 Subject: 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 --- compiler/transf.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/transf.nim') 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]) -- cgit 1.4.1-2-gfad0