K1: Support referencing class context receivers in a form of this@Name
This commit is contained in:
Vendored
+3
-3
@@ -6,7 +6,7 @@ class A {
|
||||
}
|
||||
|
||||
context(A) class B {
|
||||
val prop = x + this<!UNRESOLVED_REFERENCE!>@A<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>x<!>
|
||||
val prop = x + this@A.x
|
||||
|
||||
fun f() = x + this<!UNRESOLVED_REFERENCE!>@A<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>x<!>
|
||||
}
|
||||
fun f() = x + this@A.x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user