val foo: String get() = "" fun test(foo: Foo) { consume(::foo) } fun consume(f: () -> String) {}