[FE] Do not change original semantics in LabelResolver

This commit is contained in:
Anastasiya Shadrina
2021-11-22 15:00:25 +07:00
committed by TeamCityServer
parent 5d76f979cf
commit 2b30c1eb5d
8 changed files with 95 additions and 3 deletions
@@ -0,0 +1,27 @@
fun Int.f() {
this<!UNRESOLVED_REFERENCE!>@Int<!>
}
var Int.p: Int
get() {
this<!UNRESOLVED_REFERENCE!>@Int<!>
return<!UNRESOLVED_REFERENCE!>@p<!> 42
}
set(value) {
this<!UNRESOLVED_REFERENCE!>@Int<!>
}
class X {
var Int.p: Int
get() {
this<!UNRESOLVED_REFERENCE!>@Int<!>
return<!UNRESOLVED_REFERENCE!>@p<!> 42
}
set(value) {
this<!UNRESOLVED_REFERENCE!>@Int<!>
}
fun Int.f() {
this<!UNRESOLVED_REFERENCE!>@Int<!>
}
}