diff --git a/compiler/semasgn.nim b/compiler/semasgn.nim index db08605cfb..67af6ade76 100644 --- a/compiler/semasgn.nim +++ b/compiler/semasgn.nim @@ -261,7 +261,7 @@ proc addParam(procType: PType; param: PSym) = rawAddSon(procType, param.typ) proc liftBody(c: PContext; typ: PType; kind: TTypeAttachedOp; - info: TLineInfo): PSym {.discardable.} = + info: TLineInfo): PSym = var a: TLiftCtx a.info = info a.c = c