Guest User

Untitled

a guest
Aug 30th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nim 0.16 KB | None | 0 0
  1. proc fun(a: int = 1, b: bool) =
  2.   discard
  3.  
  4. fun(true)
  5.  
  6. # main.nim(4, 4) Error: type mismatch: got (bool)
  7. # but expected one of:
  8. # proc fun(a: int = 1; b: bool)
Advertisement
Add Comment
Please, Sign In to add comment