Alowaniak
05/24/2018, 2:32 PMclass A { val x = X(); fun foo(some: Bar) = x::anotherFooAlsoAcceptingOneBar; }
greybird
05/24/2018, 5:27 PMclass A {
val x = X()
val foo = x::anotherFooAlsoAcceptingOneBar
}
A.foo is a function and called in the usual way.greybird
05/24/2018, 5:34 PM