Files
kotlin-fork/idea/testData/inspectionsLocal/redundantUnitExpression/atLastAfterIntFunctionCall.kt
T

8 lines
106 B
Kotlin
Vendored

// PROBLEM: none
fun test(b: Boolean): Unit = if (b) {
int()
<caret>Unit
} else {
}
fun int() = 1