Make enum entries to be interpreted in right order
#KT-53727 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
const val name = E.OK.name
|
||||
fun box(): String = name
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
enum class E(val parent: E?) {
|
||||
X(null),
|
||||
OK(X),
|
||||
}
|
||||
Reference in New Issue
Block a user