FIR: Support typeRef-name label for this

This commit is contained in:
Denis.Zharkov
2022-03-24 14:58:11 +03:00
committed by teamcity
parent ac399321f0
commit 512446843b
13 changed files with 38 additions and 108 deletions
@@ -1,27 +1,27 @@
fun Int.f() {
this<!UNRESOLVED_LABEL!>@Int<!>
this@Int
}
var Int.p: Int
get() {
this<!UNRESOLVED_LABEL!>@Int<!>
this@Int
<!RETURN_NOT_ALLOWED!>return@p<!> 42
}
set(value) {
this<!UNRESOLVED_LABEL!>@Int<!>
this@Int
}
class X {
var Int.p: Int
get() {
this<!UNRESOLVED_LABEL!>@Int<!>
this@Int
<!RETURN_NOT_ALLOWED!>return@p<!> 42
}
set(value) {
this<!UNRESOLVED_LABEL!>@Int<!>
this@Int
}
fun Int.f() {
this<!UNRESOLVED_LABEL!>@Int<!>
this@Int
}
}