more chatty error message for the 'discard' checking
This commit is contained in:
parent
e2cf3b94f2
commit
d72578b3dd
2 changed files with 5 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
line: 10
|
||||
errormsg: '''expression 'open(f, "arg.txt", fmRead, -1)' is of type 'bool' and has to be discarded'''
|
||||
errormsg: '''expression 'open(f, "arg.txt", fmRead, -1)' is of type 'bool' and has to be discarded; start of expression here: tneedsdiscard.nim(7, 2)'''
|
||||
"""
|
||||
|
||||
proc p =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue