fbcb07d375
Merge-request: KT-MR-8605 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
13 lines
190 B
Kotlin
Vendored
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()
|