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

8 lines
91 B
Kotlin
Vendored

fun test(b: Boolean): Unit = if (b) {
unit()
<caret>Unit
} else {
}
fun unit() {
}