f113c22450
Keep helper fields uninitialized. This way thier initialization would not depend on field initialization order.
10 lines
170 B
Kotlin
Vendored
10 lines
170 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1309
|
|
// KJS_WITH_FULL_RUNTIME
|
|
|
|
enum class E { A, B }
|
|
val x: Any = E.A
|
|
|
|
fun box(): String {
|
|
if (x !== E.A) return "Fail"
|
|
return "OK"
|
|
} |