[FIR] Bad test data fixes (around captured types)
This commit is contained in:
@@ -15,9 +15,9 @@ fun case_1(a: MutableList<out MutableList<MutableList<MutableList<MutableList<Mu
|
||||
if (f != null) {
|
||||
val g = f[0]
|
||||
if (g != null) {
|
||||
val h = g[0]
|
||||
val h = <!UNRESOLVED_REFERENCE!>g[0]<!>
|
||||
if (h != null) {
|
||||
h.inc()
|
||||
h.<!UNRESOLVED_REFERENCE!>inc<!>()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -43,9 +43,9 @@ fun case_2(a: MutableList<out MutableList<MutableList<MutableList<out MutableLis
|
||||
if (f != null) {
|
||||
val g = f[0]
|
||||
if (g != null) {
|
||||
val h = g[0] // no SMARTCAST diagnostic
|
||||
val h = <!UNRESOLVED_REFERENCE!>g[0]<!> // no SMARTCAST diagnostic
|
||||
if (h != null) {
|
||||
h.inc()
|
||||
h.<!UNRESOLVED_REFERENCE!>inc<!>()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user