print
does not automatically apply .str()
#1786
Labels
Bug
This tag is applied to issues which reports bugs.
print
does not automatically apply .str()
#1786
V version:
commit 52c2763
What did you do?
print(1)
What did you expect to see?
1
What did you see instead?
test.v:1:7: Fn "print" wrong arg #1. Expected "string" (s) but got "int"
Comments
print(1.str())
test.v:1:10: Fn "print" wrong arg #1. Expected "string" (s) but got "f32"
test.v:2:8: Fn "print" wrong arg #1. Expected "string" (s) but got "int"
1
The text was updated successfully, but these errors were encountered: