4532f52898
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.
14 lines
183 B
Kotlin
Vendored
14 lines
183 B
Kotlin
Vendored
enum class X {
|
|
|
|
B {
|
|
val value2 = "OK"
|
|
override val value = { value2 }
|
|
};
|
|
|
|
abstract val value: () -> String
|
|
}
|
|
|
|
fun box(): String {
|
|
return X.B.value()
|
|
}
|