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