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
1e0a2e603630b300169b503defff2917cbab5ebb
wren
/
test
/
io
/
print_bad_to_string.wren
T
6 lines
98 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 }
}
Make constructors just methods.
2015-07-10 09:18:22 -07:00
IO.print(BadToString.new()) // expect: [invalid toString]
Reference in New Issue
Copy Permalink