Files
kotlin-fork/idea/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/applicable_formatsProperly.kt
T

7 lines
104 B
Kotlin

fun foo(i: (Int) -> Unit) {}
fun test() {
foo { <caret>x ->
foo { x -> x % 2 == 0 }
}
}