Files
wren/test/constructor/infix_class_expression.wren
2013-12-21 19:25:09 -08:00

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