Files
kotlin-fork/idea/testData/inspectionsLocal/redundantUnitExpression/atLastAfterIntFunctionCall.kt
T
2018-01-30 10:03:36 +03:00

8 lines
106 B
Kotlin
Vendored

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