2013-12-19 09:10:45 -08:00
|
|
|
class Foo {
|
2014-04-08 17:54:37 -07:00
|
|
|
+(other) { "Foo " + other }
|
2013-12-19 09:10:45 -08:00
|
|
|
}
|
|
|
|
|
|
2014-01-05 12:27:12 -08:00
|
|
|
IO.print(new Foo + "value") // expect: Foo value
|
2013-12-19 09:10:45 -08:00
|
|
|
|
|
|
|
|
// TODO: Other expressions following a constructor, like new Foo.bar("arg").
|