73799e2c3c
It's done with similar constructions where possible trying to preserve intended behavior. Some usages are removed because they test exactly the feature that we are going to drop soon.
5 lines
81 B
Kotlin
Vendored
5 lines
81 B
Kotlin
Vendored
fun <T> foo(f: (T) -> String) {}
|
|
|
|
fun test() {
|
|
<caret>foo { x: Int -> "$x"}
|
|
} |