make tests green again

This commit is contained in:
Andreas Rumpf
2017-02-24 13:05:58 +01:00
parent f8914cc3b0
commit b7a1cad4a4

View File

@@ -248,6 +248,7 @@ proc addParam(procType: PType; param: PSym) =
proc liftBody(c: PContext; typ: PType; info: TLineInfo): PSym =
var a: TLiftCtx
a.info = info
a.c = c
let body = newNodeI(nkStmtList, info)
result = newSym(skProc, getIdent":lifted=", typ.owner, info)
a.fn = result