require errormsg to be specified before file.
This commit is contained in:
parent
ca394ebd95
commit
1105d03644
264 changed files with 305 additions and 623 deletions
|
|
@ -1,8 +1,7 @@
|
|||
discard """
|
||||
errormsg: "type mismatch"
|
||||
file: "tconsttypemismatch.nim"
|
||||
line: 7
|
||||
errormsg: "type mismatch"
|
||||
"""
|
||||
# bug #2252
|
||||
const foo: int = 1000 / 30
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
errormsg: "Expected a node of kind nnkCharLit, got nnkCommand"
|
||||
file: "tmacroerrorproc.nim"
|
||||
line: 13
|
||||
errormsg: "Expected a node of kind nnkCharLit, got nnkCommand"
|
||||
"""
|
||||
# issue #4915
|
||||
import macros
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue