new destroyer pass works with procs too
This commit is contained in:
parent
ffe52a7f7b
commit
5dca695bcf
4 changed files with 11 additions and 9 deletions
|
|
@ -290,4 +290,7 @@ proc injectDestructorCalls*(owner: PSym; n: PNode): PNode =
|
|||
else:
|
||||
result.add body
|
||||
|
||||
#echo "transformed into: ", result
|
||||
when false:
|
||||
echo "------------------------------------"
|
||||
echo owner.name.s, " transformed from: ", n
|
||||
echo result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue