diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-12-28 19:48:21 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-12-28 19:48:21 +0100 |
commit | e695f9d94e752fbf18012f9ee164af1ba0649fa1 (patch) | |
tree | 955e47cb9ea5aff600df59dbd6da15a1193e0439 /compiler | |
parent | f3a895f04321853f32b571a1f314d72c73274ff6 (diff) | |
download | Nim-e695f9d94e752fbf18012f9ee164af1ba0649fa1.tar.gz |
make Nim compile with older nim versions
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semasgn.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semasgn.nim b/compiler/semasgn.nim index db08605cf..67af6ade7 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 |