1 2 3 4 5 6 7
class Foo { construct new() {} bar=(value) { "result" } } var foo = Foo.new() System.print(foo.bar = "value") // expect: result