Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/deprecated/deprecatedEnumEntryFields.kt
T
Alexander Udalov 68b94b07b8 Fir2Ir: more precise calculation of enum class modality
Use the same condition as in the already existing `createIrEnumEntry`
function (and as in psi2ir): enum class should be final unless there's
an enum entry with any declaration other than its constructor.

 #KT-57216
2023-04-27 11:02:22 +00:00

8 lines
103 B
Kotlin
Vendored

// WITH_STDLIB
enum class Test {
@Deprecated("") ENTRY1,
ENTRY2,
@Deprecated("") ENTRY3
}