Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BEFORE
- Error: type mismatch: got (int literal(1), bool)
- but expected one of:
- proc checkThis(a, b: int)
- first type mismatch at position: 2
- required type: int
- but expression 'true' is of type: bool
- expression: checkThis(1, true)
- # AFTER
- Error: type mismatch: got (int literal(1), bool) but expected one of:
- proc checkThis(a, b: int)
- first type mismatch at position: 2 (Needed: int, Got: 'true' (bool))
- expression: checkThis(1, true)
Advertisement
Add Comment
Please, Sign In to add comment