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>
18 lines
240 B
Kotlin
Vendored
18 lines
240 B
Kotlin
Vendored
enum class A {
|
|
X {
|
|
val x = "OK"
|
|
|
|
inner class Inner {
|
|
fun foo() = this@X.x
|
|
}
|
|
|
|
val z = Inner()
|
|
|
|
override val test = z.foo()
|
|
};
|
|
|
|
abstract val test: String
|
|
}
|
|
|
|
fun box() = A.X.test
|