Files
kotlin-fork/idea/testData/refactoring/introduceVariable/WhenAddBlockInner.kt
T

15 lines
194 B
Kotlin

fun a() {
when (1) {
is 1 -> println(<selection>2</selection>)
}
}
/*
fun a() {
when (1) {
is 1 -> {
val i = 2
println(i)
}
}
}
*/