Files
kotlin-fork/compiler/testData/codegen/box/enum/kt1119.kt
T
Vladimir Sukharev fbcb07d375 [K2/N] KT-55828 Enable already fixed and accidentally disabled tests
Merge-request: KT-MR-8605
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2023-02-01 10:44:26 +00:00

13 lines
190 B
Kotlin
Vendored

enum class Direction() {
NORTH {
val someSpecialValue = "OK"
override fun f() = someSpecialValue
};
abstract fun f():String
}
fun box() = Direction.NORTH.f()