f50059a11a
#KT-10283 Fixed
8 lines
146 B
Kotlin
Vendored
8 lines
146 B
Kotlin
Vendored
// "Create function 'foo'" "true"
|
|
fun <T, U> T.map(f: T.() -> U) = f()
|
|
|
|
fun consume(s: String) {}
|
|
|
|
fun test() {
|
|
consume(1.map(::<caret>foo))
|
|
} |