This website requires JavaScript.
Explore
Help
Register
Sign In
retoor
/
wren
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
91a23da5b0d6e38578c895cafccf9518fb698459
wren
/
test
/
io
/
print_bad_to_string.wren
T
6 lines
96 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Handle toString not returning a string in IO.print and IO.write.
2015-01-08 07:53:37 -08:00
class BadToString {
toString { 3 }
}
IO.print(new BadToString) // expect: [invalid toString]
Reference in New Issue
Copy Permalink