diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-02-05 16:49:06 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-02-05 16:49:06 +0100 |
commit | d72578b3ddfe3ce955975bebd05ea3e3313d0e10 (patch) | |
tree | 37faa258a165c87fd9fd63e05d20fcce2cd45333 /tests/discard/tneedsdiscard.nim | |
parent | e2cf3b94f22f9d028500a3b8628c3cd0b381d65f (diff) | |
download | Nim-d72578b3ddfe3ce955975bebd05ea3e3313d0e10.tar.gz |
more chatty error message for the 'discard' checking
Diffstat (limited to 'tests/discard/tneedsdiscard.nim')
-rw-r--r-- | tests/discard/tneedsdiscard.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/discard/tneedsdiscard.nim b/tests/discard/tneedsdiscard.nim index 509e8233b..8d59e7fec 100644 --- a/tests/discard/tneedsdiscard.nim +++ b/tests/discard/tneedsdiscard.nim @@ -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 = |