summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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