IR text tests: Unmute enum class-related tests

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.
This commit is contained in:
Dmitriy Dolovov
2023-11-23 15:07:18 +01:00
committed by Space Team
parent fd96ee1d0b
commit 4532f52898
84 changed files with 1165 additions and 2665 deletions
@@ -1,11 +1,6 @@
// IGNORE_BACKEND: JS_IR
// SKIP_SIGNATURE_DUMP
// ^ Types of properties of anonymous classes generated by K1 and K2 are different
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
// IGNORE_BACKEND: NATIVE
enum class MyEnum {
Z {
var counter = 0