diff --git a/test/constructor/infix_class_expression.wren b/test/constructor/infix_class_expression.wren new file mode 100644 index 00000000..5451b72b --- /dev/null +++ b/test/constructor/infix_class_expression.wren @@ -0,0 +1,7 @@ +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").