Files
kotlin/compiler/testData/codegen/box/enum/kt7257_boundReferenceWithImplicitReceiver.kt
2019-11-19 11:00:09 +03:00

16 lines
225 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
override val value = "OK"
override val test = ::value.get()
};
abstract val value: String
abstract val test: String
}
fun box() = X.B.test