10 lines
236 B
Nim
10 lines
236 B
Nim
discard """
|
|
errormsg: "type mismatch: got <int literal(5), b: bool>"
|
|
line: 10
|
|
"""
|
|
|
|
# bug #2993
|
|
proc test(i: int, a, b: bool) = discard
|
|
#test(5, b = false) #Missing param a
|
|
|
|
5.test(b = false) #Missing param a
|