diff --git a/compiler/transf.nim b/compiler/transf.nim index 066be57f8763..d06fc136c532 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -321,6 +321,13 @@ proc introduceNewLocalVars(c: PTransf, n: PNode): PNode = result = n of nkVarSection, nkLetSection: result = transformVarSection(c, n) + for i in 0.. x * multiplier)) + + for unused_var in walkDir("."): + let outside = "x" + let closure = proc(): string = outside