39bd97147f
Usually FIR enum entry is initialized by anonymous object, which is the container for all enum entry' declarations. However, for simple enum entries there is no need of initializer at all.
11 lines
106 B
Kotlin
Vendored
11 lines
106 B
Kotlin
Vendored
enum class E {
|
|
ENTRY;
|
|
|
|
abstract class Nested
|
|
}
|
|
|
|
fun box(): String {
|
|
E.ENTRY
|
|
return "OK"
|
|
}
|