Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc test(a: int): int = a
- proc test(b: int): int = b
- echo test("Ey")
- # (3, 10) Error: type mismatch: got (string)
- # but expected one of:
- # proc test(a: int): int
- # proc test(b: int): int
- # expression: test("Ey")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement