Files
kotlin-fork/idea/testData/intentions/invertIfCondition/notBlock2.kt
T

6 lines
90 B
Kotlin
Vendored

fun foo(i: Int): Int {
return <caret>if (i > 0) {
i
} else
i + 1
}