mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 04:02:41 +00:00
make Nim compile with older nim versions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user