Closed mtshiba closed 1 year ago
...
add x: Int, y = x + y print! add 1, "a"
Type error occured.
Traceback (most recent call last): File "test.er", line -1, in File "test.er", line -1, in add TypeError: unsupported operand type(s) for +: 'Nat' and 'Str'
No response
0.6.0-beta.1
None
Describe the bug?
...
Reproducible code
Expected result
Type error occured.
Actual result
Traceback (most recent call last): File "test.er", line -1, in
File "test.er", line -1, in add
TypeError: unsupported operand type(s) for +: 'Nat' and 'Str'
Additional context
No response
Erg version
0.6.0-beta.1
Python version
No response
OS
None