Files
kotlin-fork/compiler/testData/diagnostics/tests/extensions/contextReceivers/labelsFromClassNameForbidden.kt
T
Nikolay Lunyak 425d5e808b [FIR] Link some tests with issues
Just in case.

^KT-59874
2023-11-14 15:19:33 +00:00

13 lines
458 B
Kotlin
Vendored

// ISSUE: KT-63068
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<!>