class Foo { fun bar() {} fun f() = Unresolved()::bar } val f: () -> Unit = Unresolved()::foo