This commit is contained in:
Araq 2015-07-01 17:42:12 +02:00
commit b159fc3b34
2 changed files with 12 additions and 6 deletions

View file

@ -0,0 +1,10 @@
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