Files
kotlin-fork/compiler/testData/codegen/box/delegatedProperty/delegateToFinalProperty/delegateToFinalProperty.kt
T

12 lines
217 B
Kotlin
Vendored

// CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
val impl = 123
operator fun Any?.getValue(thisRef: Any?, property: Any?) =
if (this == 123 && thisRef == null) "OK" else "Failed"
val s: String by impl
fun box() = s