6 lines
120 B
Kotlin
Vendored
6 lines
120 B
Kotlin
Vendored
fun <T, S, R> foo(t: T, f: (T) -> S, g: (S) -> R) {}
|
|
|
|
|
|
fun test() {
|
|
<caret>foo(1, { x -> "$x"}, { y -> y.length })
|
|
} |