bcfafc601e
This change allows to revert adding `WITH_STDLIB` directive to tests which happened at `a9343aeb`. Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com>
17 lines
300 B
Kotlin
Vendored
17 lines
300 B
Kotlin
Vendored
enum class X {
|
|
B {
|
|
val value2 = "K"
|
|
|
|
val anonObject = object {
|
|
val value3 = "O" + value2
|
|
|
|
override fun toString(): String = value3
|
|
}
|
|
|
|
override val value = anonObject.toString()
|
|
};
|
|
|
|
abstract val value: String
|
|
}
|
|
|
|
fun box() = X.B.value |