KT-35536: Fix enum constants in KAPT
Enum constants are Pair, so make sure to unpack them correctly.
This commit is contained in:
committed by
Yan Zhulanow
parent
62924ddcd4
commit
eab6864269
@@ -21,4 +21,13 @@ object Foo {
|
||||
object Boo {
|
||||
val z = foo()
|
||||
fun foo() = "abc"
|
||||
}
|
||||
|
||||
class HavingState {
|
||||
val state = State.START
|
||||
}
|
||||
|
||||
enum class State {
|
||||
START,
|
||||
FINISH,
|
||||
}
|
||||
Reference in New Issue
Block a user