summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-12-28 19:48:21 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-12-28 19:48:21 +0100
commite695f9d94e752fbf18012f9ee164af1ba0649fa1 (patch)
tree955e47cb9ea5aff600df59dbd6da15a1193e0439 /compiler
parentf3a895f04321853f32b571a1f314d72c73274ff6 (diff)
downloadNim-e695f9d94e752fbf18012f9ee164af1ba0649fa1.tar.gz
make Nim compile with older nim versions
Diffstat (limited to 'compiler')
-rw-r--r--compiler/semasgn.nim2
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