Files
kotlin-fork/analysis/low-level-api-fir/testData/contextCollector/enumValue.kt
T
Dmitrii Gridin 33e6a85a2d [LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
2023-09-18 21:12:45 +00:00

23 lines
354 B
Kotlin
Vendored

enum class Direction {
NORTH {
override val code: Int
get() = 1
},
EAST {
override val code: Int
get() = <expr>2</expr>
},
SOUTH {
override val code: Int
get() = 3
},
WEST {
override val code: Int
get() = 4
};
abstract val code: Int
}