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

9 lines
127 B
Kotlin

// IS_APPLICABLE: false
fun foo(x: Foo) {
x.<caret>foo(1) { it * 2 }
}
trait Foo {
fun foo(a: Int, f: (Int) -> Int)
}