fixes #584
This commit is contained in:
parent
cf544f6a85
commit
2b9311e9f1
5 changed files with 86 additions and 27 deletions
|
|
@ -754,6 +754,7 @@ proc transformStmt*(module: PSym, n: PNode): PNode =
|
|||
result = processTransf(c, n, module)
|
||||
result = liftLambdasForTopLevel(module, result)
|
||||
incl(result.flags, nfTransf)
|
||||
when useEffectSystem: trackTopLevelStmt(module, result)
|
||||
|
||||
proc transformExpr*(module: PSym, n: PNode): PNode =
|
||||
if nfTransf in n.flags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue