FE 1.0: implement typed this label resolve warning for KT-51433
#KT-51433 Fixed
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
|
||||
class Some {
|
||||
context(Some, String)
|
||||
fun foo() {
|
||||
this<!UNRESOLVED_LABEL!>@foo<!>
|
||||
this@Some
|
||||
this<!UNRESOLVED_LABEL!>@String<!>
|
||||
}
|
||||
|
||||
context(Some)
|
||||
val self: Some
|
||||
get() = this@Some
|
||||
}
|
||||
Reference in New Issue
Block a user