// "Create function 'foo'" "true" fun T.map(f: T.() -> U) = f() fun consume(s: String) {} fun test() { fun foo(i: Int): String { TODO("Not yet implemented") } consume(1.map(::foo)) }