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

8 lines
92 B
Kotlin

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