make tests green again

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

View file

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