summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/destroyer.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/destroyer.nim b/compiler/destroyer.nim
index bed60a3e0..b14615e40 100644
--- a/compiler/destroyer.nim
+++ b/compiler/destroyer.nim
@@ -647,6 +647,7 @@ proc p(n: PNode; c: var Con): PNode =
     c.tracingSinkedParams = false
     for i in 1..<n.len:
       result.add p(n[i], c)
+    c.tracingSinkedParams = true
   of nkForStmt:
     result = copyNode(n)
     for i in 1..n.len-2: