Files
kotlin-fork/compiler/testData/diagnostics/tests/extensions/contextReceivers/labelsFromClassNameForbidden.kt
T
2021-12-02 20:24:44 +03:00

12 lines
439 B
Kotlin
Vendored

fun List<Int>.f() {
this<!UNRESOLVED_REFERENCE!>@List<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>size<!>
}
<!UNSUPPORTED_FEATURE!>context(String)<!>
fun Int.f() {
this<!UNRESOLVED_REFERENCE!>@String<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>length<!>
this<!UNRESOLVED_REFERENCE!>@Int<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>toDouble<!>()
}
<!UNSUPPORTED_FEATURE!>context(String)<!>
val p: String get() = this<!UNRESOLVED_REFERENCE!>@String<!>