Files
kotlin-fork/idea/testData/intentions/toInfixCall/functionLiteralArgument.kt
T

8 lines
102 B
Kotlin
Vendored

fun foo(x: Foo) {
x.<caret>foo { it * 2 }
}
interface Foo {
infix fun foo(f: (Int) -> Int)
}