Advertisement
Guest User

Untitled

a guest
Dec 21st, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nim 0.22 KB | None | 0 0
  1. proc test(a: int): int = a
  2. proc test(b: int): int = b
  3. echo test("Ey")
  4.  
  5. # (3, 10) Error: type mismatch: got (string)
  6. # but expected one of:
  7. # proc test(a: int): int
  8. # proc test(b: int): int
  9.  
  10. # expression: test("Ey")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement