diff --git a/compiler/injectdestructors.nim b/compiler/injectdestructors.nim index 8d975e69ef..0bb192036e 100644 --- a/compiler/injectdestructors.nim +++ b/compiler/injectdestructors.nim @@ -32,7 +32,7 @@ type uninit: IntSet # set of uninit'ed vars uninitComputed: bool -const toDebug = "" # "server" # "serverNimAsyncContinue" +const toDebug {.strdefine.} = "" # "server" # "serverNimAsyncContinue" template dbg(body) = when toDebug.len > 0: @@ -450,7 +450,11 @@ proc p(n: PNode; c: var Con): PNode = for i in 1..