1
0
forked from Mirror/wren
Files
wren/test/constructor/infix_class_expression.wren

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").