[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// ISSUE: KT-29767
|
||||
|
||||
fun test(a: MutableList<out Int?>?) {
|
||||
if (a != null) {
|
||||
val b = a[0] // no SMARTCAST diagnostic
|
||||
if (b != null) {
|
||||
b.inc()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user