mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 14:48:40 +01:00
8 lines
178 B
Plaintext
8 lines
178 B
Plaintext
class Foo {
|
|
+ other { return "Foo " + other }
|
|
}
|
|
|
|
IO.write(new Foo + "value") // expect: Foo value
|
|
|
|
// TODO: Other expressions following a constructor, like new Foo.bar("arg").
|