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

6 lines
97 B
Kotlin
Vendored

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