[FIR] Forbid typeRef-named labels without +ContextReceivers
^KT-63068 Fixed
This commit is contained in:
committed by
Space Team
parent
e7a3cd638e
commit
427c067cd8
Vendored
+2
-2
@@ -1,12 +1,12 @@
|
||||
// ISSUE: KT-63068
|
||||
fun List<Int>.f() {
|
||||
this@List.size
|
||||
this<!UNRESOLVED_LABEL!>@List<!>.size
|
||||
}
|
||||
|
||||
<!UNSUPPORTED_FEATURE!>context(String)<!>
|
||||
fun Int.f() {
|
||||
this@String.length
|
||||
this@Int.toDouble()
|
||||
this<!UNRESOLVED_LABEL!>@Int<!>.toDouble()
|
||||
}
|
||||
|
||||
<!UNSUPPORTED_FEATURE!>context(String)<!>
|
||||
|
||||
Reference in New Issue
Block a user