4d9b19da82
#KT-18539 Fixed
11 lines
234 B
Plaintext
Vendored
11 lines
234 B
Plaintext
Vendored
// "Create function 'foo'" "true"
|
|
fun <T, U> T.map(f: T.() -> U) = f()
|
|
|
|
fun consume(s: String) {}
|
|
|
|
fun test() {
|
|
fun foo(i: Int): String {
|
|
<selection>TODO("Not yet implemented")</selection>
|
|
}
|
|
consume(1.map(::foo))
|
|
} |