Files
wren/test/language/constructor/infix_class_expression.wren
Bob Nystrom 64eccdd9be Reorganize tests and benchmark scripts.
Mainly to get rid of one top level directory. But this will
also be useful when there are tests of the embedding API.
2015-03-14 12:45:56 -07:00

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