add colon (#17834)
This commit is contained in:
parent
b667e288e2
commit
6e8f0f8cfc
6 changed files with 6 additions and 6 deletions
|
|
@ -2291,7 +2291,7 @@ proc semMagic(c: PContext, n: PNode, s: PSym, flags: TExprFlags): PNode =
|
|||
result[i] = semExpr(c, n[i])
|
||||
|
||||
if n.len > 1 and n[1].kind notin nkCallKinds:
|
||||
return localErrorNode(c, n, n[1].info, "'spawn' takes a call expression; got " & $n[1])
|
||||
return localErrorNode(c, n, n[1].info, "'spawn' takes a call expression; got: " & $n[1])
|
||||
|
||||
let typ = result[^1].typ
|
||||
if not typ.isEmptyType:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue