Files
kotlin/compiler/testData/codegen/box/enum/kt7257_boundReferenceWithImplicitReceiver.kt

15 lines
219 B
Kotlin
Vendored

// LANGUAGE_VERSION: 1.2
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