summary refs log tree commit diff stats
path: root/compiler/transf.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-04-06 17:32:33 +0200
committerAraq <rumpf_a@web.de>2019-04-06 17:32:53 +0200
commit6e6a9a721fc039c88851650e4ab989aeff04fc9f (patch)
tree1cbcab26559355e7b7ee4dee87454956661dc5da /compiler/transf.nim
parentfab75fbaf1a2dd94cedfc0b41173edf49b581c6e (diff)
downloadNim-6e6a9a721fc039c88851650e4ab989aeff04fc9f.tar.gz
destructors: we are cooking now
Diffstat (limited to 'compiler/transf.nim')
-rw-r--r--compiler/transf.nim2
1 files changed, 2 insertions, 0 deletions
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: