5 lines
83 B
Kotlin
5 lines
83 B
Kotlin
fun <T> foo(f: (T) -> String) {}
|
|
|
|
fun test() {
|
|
<caret>foo { (x: Int) -> "$x"}
|
|
} |