diff options
Diffstat (limited to 'compiler/transf.nim')
-rw-r--r-- | compiler/transf.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim index deb821eff..0911950d0 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -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: |