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

10 lines
202 B
Kotlin
Vendored

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