tnamedparams3.nim 236 B

1234567891011
  1. discard """
  2. errormsg: "type mismatch: got <int literal(5), b: bool>"
  3. line: 10
  4. """
  5. # bug #2993
  6. proc test(i: int, a, b: bool) = discard
  7. #test(5, b = false) #Missing param a
  8. 5.test(b = false) #Missing param a