[Tests] Add missing and fix incorrect

This commit is contained in:
Anastasiya Shadrina
2021-09-05 18:56:07 +07:00
committed by TeamCityServer
parent f92ac6ca14
commit b0a7be72e8
10 changed files with 344 additions and 70 deletions
@@ -3,19 +3,19 @@ class B(val b: Any)
class C(val c: Any)
context(labelAInt@A<Int>, A<String>, labelB@B) fun f() {
<!UNRESOLVED_LABEL!>this@labelAInt<!>.<!UNRESOLVED_REFERENCE!>a<!>.toFloat()
<!UNRESOLVED_LABEL!>this@A<!>.<!UNRESOLVED_REFERENCE!>a<!>.length
<!UNRESOLVED_LABEL!>this@labelB<!>.<!UNRESOLVED_REFERENCE!>b<!>
<!UNRESOLVED_LABEL!>this@B<!>
this<!UNRESOLVED_LABEL!>@labelAInt<!>.a.toFloat()
this<!UNRESOLVED_LABEL!>@A<!>.a.length
this<!UNRESOLVED_LABEL!>@labelB<!>.b
this<!UNRESOLVED_LABEL!>@B<!>
}
context(labelAInt@A<Int>, A<String>, labelB@B) val C.p: Int
get() {
<!UNRESOLVED_LABEL!>this@labelAInt<!>.<!UNRESOLVED_REFERENCE!>a<!>.toFloat()
<!UNRESOLVED_LABEL!>this@A<!>.<!UNRESOLVED_REFERENCE!>a<!>.length
<!UNRESOLVED_LABEL!>this@B<!>
<!UNRESOLVED_LABEL!>this@labelB<!>.<!UNRESOLVED_REFERENCE!>b<!>
<!UNRESOLVED_LABEL!>this@C<!>.<!UNRESOLVED_REFERENCE!>c<!>
this<!UNRESOLVED_LABEL!>@labelAInt<!>.a.toFloat()
this<!UNRESOLVED_LABEL!>@A<!>.a.length
this<!UNRESOLVED_LABEL!>@B<!>
this<!UNRESOLVED_LABEL!>@labelB<!>.b
this<!UNRESOLVED_LABEL!>@C<!>.c
this@p.c
this.c
return 1