improve error message for twrongcolon
This commit is contained in:
parent
fa0f5d0238
commit
2199f83280
3 changed files with 15 additions and 4 deletions
11
tests/errmsgs/twrongcolon.nim
Normal file
11
tests/errmsgs/twrongcolon.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
discard """
|
||||
errormsg: "in expression '("
|
||||
nimout: '''
|
||||
Error: in expression '(
|
||||
890)': identifier expected, but found ''
|
||||
'''
|
||||
|
||||
line: 11
|
||||
"""
|
||||
|
||||
var n: int : 890
|
||||
Loading…
Add table
Add a link
Reference in a new issue