Refactor injectdestructors (#12295)

One improvement over #devel is visible in the transformation of getEnv. With this approach we move to result whenever possible.
This commit is contained in:
Clyybber 2019-10-01 14:09:24 +02:00 • committed by Andreas Rumpf
commit 5f5879dc4c
7 changed files with 257 additions and 577 deletions

View file

@ -291,10 +291,6 @@ type
const
sfNoInit* = sfMainModule # don't generate code to init the variable
sfCursor* = sfDispatcher
# local variable has been computed to be a "cursor".
# see cursors.nim for details about what that means.
sfAllUntyped* = sfVolatile # macro or template is immediately expanded \
# in a generic context