From 6e6a9a721fc039c88851650e4ab989aeff04fc9f Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 6 Apr 2019 17:32:33 +0200 Subject: destructors: we are cooking now --- compiler/transf.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/transf.nim') diff --git a/compiler/transf.nim b/compiler/transf.nim index 640ed1136..a597123de 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -772,6 +772,8 @@ proc transformCall(c: PTransf, n: PNode): PTransNode = elif magic == mProcCall: # but do not change to its dispatcher: result = transformSons(c, n[1]) + elif magic == mStrToStr: + result = transform(c, n[1]) else: let s = transformSons(c, n).PNode # bugfix: check after 'transformSons' if it's still a method call: -- cgit 1.4.1-2-gfad0