44c15d8311
So #KT-18308 Fixed
12 lines
203 B
Kotlin
Vendored
12 lines
203 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
fun test(b: Boolean) {
|
|
val list1 = mutableListOf(1)
|
|
val list2 = mutableListOf(2)
|
|
|
|
when {
|
|
b -> list1
|
|
else -> <caret>{
|
|
list2
|
|
}
|
|
}.add(3)
|
|
} |