Making enum class-related tests unmuted requires implementing a special "compatibility" mode for IR tree dumper to filter out fake override declarations leaking from java.enum.Enum and kotlin.Enum (JVM-only) classes.
12 lines
231 B
Kotlin
Vendored
12 lines
231 B
Kotlin
Vendored
// SKIP_SIGNATURE_DUMP
|
|
// ^ Difference in annotations generated by K1 and K2
|
|
|
|
annotation class TestAnn(val x: String)
|
|
|
|
enum class TestEnum {
|
|
@TestAnn("ENTRY1") ENTRY1,
|
|
@TestAnn("ENTRY2") ENTRY2 {
|
|
val x = 42
|
|
}
|
|
}
|