Files
kotlin-fork/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt
T
2023-03-22 15:18:17 +00:00

17 lines
238 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
enum class X {
B {
val value2 = "OK"
override val value = { value2 }
};
abstract val value: () -> String
}
fun box(): String {
return X.B.value()
}