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
13747971926106bd6acf90d7dd372d0226b2ef05
wren
/
test
/
io
/
print_bad_to_string.wren
T
6 lines
96 B
Plaintext
Raw
Normal View
History
Unescape
Escape
fix: guard against non-string toString in IO.print and IO.write
2015-01-08 15:53:37 +00:00
class BadToString {
toString { 3 }
}
IO.print(new BadToString) // expect: [invalid toString]
Reference in New Issue
Copy Permalink