Files
kotlin-fork/analysis/low-level-api-fir/testData/contextCollector/enumValuePropertyAccessor.kt
T
Yan Zhulanow a848a0233d [Analysis API] Add more ContextCollector tests inspired by on-air tests
As the on-air analysis is obsolete, related tests are going to be
deleted. Here we add cases not yet covered by 'ContextCollector' tests.
2024-01-18 17:12:28 +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
}