Files
kotlin-fork/idea/testData/inspectionsLocal/moveVariableDeclarationIntoWhen/multiLineWithOneLineInitializer.kt
T

10 lines
119 B
Kotlin
Vendored

fun test() = 42
fun foo() {
val <caret>a =
test()
when (a) {
1 -> 0
else -> 24
}
}