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
This commit is contained in:
parent
a302b26e0e
commit
08c02f0236
2 changed files with 9 additions and 0 deletions
6
tests/errmsgs/t8064.nim
Normal file
6
tests/errmsgs/t8064.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
discard """
|
||||
errormsg: "expression has no type: values"
|
||||
"""
|
||||
import tables
|
||||
|
||||
values
|
||||
Loading…
Add table
Add a link
Reference in a new issue