Files
kotlin/compiler/testData/codegen/box/enum/kt7257_boundReferenceWithImplicitReceiver.kt
2018-07-23 15:08:18 +03:00

16 lines
245 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// 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