Merge branch 'devel' of github.com:nim-lang/Nim into devel

This commit is contained in:
Araq
2017-12-29 20:02:12 +01:00
6 changed files with 201 additions and 19 deletions

View File

@@ -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