made tests green again

This commit is contained in:
Araq 2012-08-14 00:09:06 +02:00
commit 991b3096e8
7 changed files with 23 additions and 10 deletions

View file

@ -697,7 +697,6 @@ proc transformBody*(module: PSym, n: PNode, prc: PSym): PNode =
if prc.kind != skMacro:
# XXX no closures yet for macros:
result = liftLambdas(prc, result)
if prc.kind == skMethod: methodDef(prc, false)
incl(result.flags, nfTransf)
proc transformStmt*(module: PSym, n: PNode): PNode =