summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-12-29 20:02:12 +0100
committerAraq <rumpf_a@web.de>2017-12-29 20:02:12 +0100
commitb6eeebd993487fad77b2132b10cc2f34a438033f (patch)
treee528d5170fcbba0be4f618e1a2a0ba27434801c7 /compiler
parentcf259fbd1c7e2642d00ed6decbceec353b53c84e (diff)
parent5e8ac0792e645dd75024a87e204303fe60e8613a (diff)
downloadNim-b6eeebd993487fad77b2132b10cc2f34a438033f.tar.gz
Merge branch 'devel' of github.com:nim-lang/Nim into devel
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