FIR: Adjust diagnostics test data after resolution of context receivers

This commit is contained in:
Denis.Zharkov
2022-03-09 14:32:56 +03:00
committed by teamcity
parent ef84dddc88
commit b2d5bf3eae
40 changed files with 106 additions and 311 deletions
@@ -5,20 +5,20 @@ class B(val b: Any)
class C(val c: Any)
context(labelAInt@A<Int>, A<String>, labelB@B) fun f() {
this<!UNRESOLVED_LABEL!>@labelAInt<!>.a.toFloat()
this<!UNRESOLVED_LABEL!>@A<!>.a.length
this<!UNRESOLVED_LABEL!>@labelB<!>.b
this@labelAInt.a.toFloat()
this@A.a.length
this@labelB.b
this<!UNRESOLVED_LABEL!>@B<!>
}
context(labelAInt@A<Int>, A<String>, labelB@B) val C.p: Int
get() {
this<!UNRESOLVED_LABEL!>@labelAInt<!>.a.toFloat()
this<!UNRESOLVED_LABEL!>@A<!>.a.length
this@labelAInt.a.toFloat()
this@A.a.length
this<!UNRESOLVED_LABEL!>@B<!>
this<!UNRESOLVED_LABEL!>@labelB<!>.b
this@labelB.b
this<!UNRESOLVED_LABEL!>@C<!>.c
this@p.c
this.c
return 1
}
}