7 lines
102 B
Kotlin
Vendored
7 lines
102 B
Kotlin
Vendored
interface Foo {
|
|
infix fun foo(f: (Int) -> Unit)
|
|
}
|
|
fun foo(x: Foo) {
|
|
x <caret>foo { it * 2 }
|
|
}
|