Files
kotlin-fork/idea/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/notApplicable_InIfElse.kt
T
2020-06-24 14:55:30 +02:00

5 lines
138 B
Kotlin
Vendored

// IS_APPLICABLE: false
fun test(i: Int) {
val p: (String) -> Boolean =
if (i == 1) { s -> true } else { <caret>s -> false }
}