Files
kotlin-fork/compiler/testData/diagnostics/tests/enum/inheritFromEnumEntry.kt
T
Tianyu Geng a8e379a025 FIR: Fix positioning of ENUM_ENTRY_AS_TYPE
The current SELECTOR_BY_QUALIFIED positioning strategy is closely
related what should be done here. But it only works on qualified access
expressions. This change also makes it work for type references.
2021-07-22 20:39:56 +03:00

7 lines
88 B
Kotlin
Vendored

// FIR_IDENTICAL
enum class E {
ENTRY
}
class A : E.<!ENUM_ENTRY_AS_TYPE!>ENTRY<!>