Files
kotlin-fork/idea/testData/intentions/toInfixCall/simpleArgumentAndFunctionLiteralArgument.kt
T
2015-05-13 16:13:13 +02:00

9 lines
131 B
Kotlin

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