Files
kotlin-fork/idea/testData/inspectionsLocal/moveVariableDeclarationIntoWhen/inUnaryAndProperty.kt
T
2019-03-21 16:32:41 +07:00

9 lines
131 B
Kotlin
Vendored

fun test() = true
fun foo() {
val a<caret> = test()
val b = !when (a) {
true -> true
else -> false
}
}