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>
22 lines
361 B
Kotlin
Vendored
22 lines
361 B
Kotlin
Vendored
enum class A {
|
|
X {
|
|
val k = "K"
|
|
|
|
val anonObject = object {
|
|
inner class Inner {
|
|
val x = "O" + k
|
|
}
|
|
|
|
val innerX = Inner().x
|
|
|
|
override fun toString() = innerX
|
|
}
|
|
|
|
override val test = anonObject.toString()
|
|
};
|
|
|
|
abstract val test: String
|
|
}
|
|
|
|
fun box() = A.X.test
|