forked from Mirror/wren
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
9 lines
107 B
Plaintext
9 lines
107 B
Plaintext
class Foo {
|
|
method {
|
|
return "ok"
|
|
IO.print("bad")
|
|
}
|
|
}
|
|
|
|
IO.print((new Foo).method) // expect: ok
|