FIR: Adjust diagnostics test data after resolution of context receivers
This commit is contained in:
+7
-7
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user