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>
21 lines
281 B
Kotlin
Vendored
21 lines
281 B
Kotlin
Vendored
|
|
enum class X {
|
|
B {
|
|
val k = "K"
|
|
|
|
inner class Inner {
|
|
fun foo() = "O" + k
|
|
}
|
|
|
|
val inner = Inner()
|
|
|
|
val bmr = inner::foo
|
|
|
|
override val value = bmr.invoke()
|
|
};
|
|
|
|
abstract val value: String
|
|
}
|
|
|
|
fun box() = X.B.value
|