2ecba6ac39
This directive anyway does not make test run twice with OI, and with NI It only once run the test with specific settings (// LANGUAGE) and ignores irrelevant (OI or NI tags)
11 lines
190 B
Kotlin
Vendored
11 lines
190 B
Kotlin
Vendored
// ISSUE: KT-29767
|
|
|
|
fun test(a: MutableList<out Int?>?) {
|
|
if (a != null) {
|
|
val b = a[0] // no SMARTCAST diagnostic
|
|
if (b != null) {
|
|
b.inc()
|
|
}
|
|
}
|
|
}
|