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

8 lines
96 B
Kotlin
Vendored

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