diff options
author | Bung <crc32@qq.com> | 2022-09-20 20:50:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 14:50:48 +0200 |
commit | 08c02f0236eec5957d54cc7f263461e06cb09a2a (patch) | |
tree | c24fafa4a75169452a890c8d3d353adb8ae2dac5 /tests/errmsgs | |
parent | a302b26e0eaa7a2074d3caac72f7c8a7e79993c5 (diff) | |
download | Nim-08c02f0236eec5957d54cc7f263461e06cb09a2a.tar.gz |
report expression has no type other than has to be used (or discarded… (#20392)
report expression has no type other than has to be used (or discarded) when typ is tyNone in discardCheck
Diffstat (limited to 'tests/errmsgs')
-rw-r--r-- | tests/errmsgs/t8064.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/errmsgs/t8064.nim b/tests/errmsgs/t8064.nim new file mode 100644 index 000000000..10bb86299 --- /dev/null +++ b/tests/errmsgs/t8064.nim @@ -0,0 +1,6 @@ +discard """ + errormsg: "expression has no type: values" +""" +import tables + +values \ No newline at end of file |