Merge branch 'devel' of github.com:nim-lang/Nim into devel
This commit is contained in:
commit
c19c6b1fae
17 changed files with 292 additions and 35 deletions
|
|
@ -771,6 +771,8 @@ proc singlePragma(c: PContext, sym: PSym, n: PNode, i: int,
|
|||
of wNoreturn:
|
||||
noVal(it)
|
||||
incl(sym.flags, sfNoReturn)
|
||||
if sym.typ[0] != nil:
|
||||
localError(sym.ast[paramsPos][0].info, errNoReturnWithReturnTypeNotAllowed)
|
||||
of wDynlib:
|
||||
processDynLib(c, it, sym)
|
||||
of wCompilerProc, wCore:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue