Files
kotlin-fork/compiler/testData/codegen/box/delegatedProperty/local/kt16864.kt
T
2019-11-19 11:00:09 +03:00

14 lines
238 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
object Whatever {
operator fun getValue(thisRef: Any?, prop: Any?) = "OK"
}
fun box(): String {
val key by Whatever
return {
object {
val keys = key
}.keys
} ()
}