9 lines
169 B
Kotlin
Vendored
9 lines
169 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
fun test(b: Boolean, x: Int, y: Int?) {
|
|
val list = mutableListOf<Int?>()
|
|
<caret>if (b) {
|
|
list += x
|
|
} else {
|
|
list += y
|
|
}
|
|
} |