summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-02-24 13:05:58 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-02-24 13:05:58 +0100
commitb7a1cad4a494ed86793af73119812f0a7e4d808f (patch)
treef7ca0f1af3e345ffdaab11f34838c8ccbe270cc6 /compiler
parentf8914cc3b002916c2b9a9cc548eae610d14ef666 (diff)
downloadNim-b7a1cad4a494ed86793af73119812f0a7e4d808f.tar.gz
make tests green again
Diffstat (limited to 'compiler')
-rw-r--r--compiler/semasgn.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semasgn.nim b/compiler/semasgn.nim
index 063157891..70765d087 100644
--- a/compiler/semasgn.nim
+++ b/compiler/semasgn.nim
@@ -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