make Nim compile with older nim versions

This commit is contained in:
Andreas Rumpf 2017-12-28 19:48:21 +01:00
commit e695f9d94e

View file

@ -261,7 +261,7 @@ proc addParam(procType: PType; param: PSym) =
rawAddSon(procType, param.typ) rawAddSon(procType, param.typ)
proc liftBody(c: PContext; typ: PType; kind: TTypeAttachedOp; proc liftBody(c: PContext; typ: PType; kind: TTypeAttachedOp;
info: TLineInfo): PSym {.discardable.} = info: TLineInfo): PSym =
var a: TLiftCtx var a: TLiftCtx
a.info = info a.info = info
a.c = c a.c = c