Files
Nim/tests/errmsgs/temptysetparam.nim
2019-05-04 23:28:09 +02:00

6 lines
104 B
Nim

discard """
errormsg: "cannot infer the type of parameter 'x'"
line: 5
"""
proc a(x = {}) = discard