// "Create extension function 'Int.foo'" "true" // WITH_RUNTIME fun T.map(f: (T) -> U) = f(this) fun consume(s: String) {} fun test() { consume(1.map(Int::foo)) } private fun Int.foo(): String { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. }