class A val X.prop: Int get() = 1 fun X.baz(): Int = 1 fun foo(x: (A) -> Int) {} fun main() { foo(A::prop) foo(A::baz) }