Files
kotlin-fork/idea/testData/inspectionsLocal/controlFlowWithEmptyBody/if/blockHasCommentWithElse.kt
T

12 lines
140 B
Kotlin
Vendored

// PROBLEM: none
fun test(i: Int) {
<caret>if (i == 1) {
// comment
} else {
return
}
foo()
}
fun foo() {}