empty container param error msg (#11158)
This commit is contained in:
parent
ce152ed91f
commit
6e4ea40475
2 changed files with 8 additions and 0 deletions
5
tests/errmsgs/temptysetparam.nim
Normal file
5
tests/errmsgs/temptysetparam.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
discard """
|
||||
errormsg: "cannot infer the type of parameter 'x'"
|
||||
line: 5
|
||||
"""
|
||||
proc a(x = {}) = discard
|
||||
Loading…
Add table
Add a link
Reference in a new issue