destroyer pass: disable debug output

This commit is contained in:
Andreas Rumpf 2017-12-30 12:55:53 +01:00
commit 64d583d6ca

View file

@ -296,6 +296,7 @@ proc p(n: PNode; c: var Con): PNode =
recurse(n, result)
proc injectDestructorCalls*(owner: PSym; n: PNode): PNode =
when defined(nimDebugDestroys):
echo "injecting into ", n
var c: Con
c.owner = owner