mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
8 lines
172 B
Plaintext
8 lines
172 B
Plaintext
class Foo {
|
|
+(other) { "Foo " + other }
|
|
}
|
|
|
|
IO.print(new Foo + "value") // expect: Foo value
|
|
|
|
// TODO: Other expressions following a constructor, like new Foo.bar("arg").
|