forked from Mirror/wren
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
8 lines
178 B
Plaintext
8 lines
178 B
Plaintext
class Foo {
|
|
+ other { return "Foo " + other }
|
|
}
|
|
|
|
IO.print(new Foo + "value") // expect: Foo value
|
|
|
|
// TODO: Other expressions following a constructor, like new Foo.bar("arg").
|