Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/unsupported/classLiteralsWithEmptyLHS.kt
T
2023-07-27 10:28:52 +00:00

18 lines
370 B
Kotlin
Vendored

// FIR_IDENTICAL
fun regular() {
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!>
with(Any()) {
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!>
}
}
fun Any.extension() {
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!>
}
class A {
fun member() {
<!UNSUPPORTED_CLASS_LITERALS_WITH_EMPTY_LHS!>::class<!>
}
}