[K2] Disappeared UNSUPPORTED_FEATURE (2)
Added a check for the enabled context receivers feature flag for declaration. ^KT-59913
This commit is contained in:
committed by
Space Team
parent
685c8e4fe7
commit
c04767f1f4
Vendored
+2
-2
@@ -3,11 +3,11 @@ fun List<Int>.f() {
|
||||
this@List.size
|
||||
}
|
||||
|
||||
context(String)
|
||||
<!UNSUPPORTED_FEATURE!>context(String)<!>
|
||||
fun Int.f() {
|
||||
this@String.length
|
||||
this@Int.toDouble()
|
||||
}
|
||||
|
||||
context(String)
|
||||
<!UNSUPPORTED_FEATURE!>context(String)<!>
|
||||
val p: String get() = this@String
|
||||
|
||||
Reference in New Issue
Block a user