7d59c7689c
Due to the direct invoke optimization, most callable reference tests were not generating callable references/lambdas.
12 lines
217 B
Kotlin
Vendored
12 lines
217 B
Kotlin
Vendored
object Whatever {
|
|
operator fun getValue(thisRef: Any?, prop: Any?) = "OK"
|
|
}
|
|
|
|
fun box(): String {
|
|
val key by Whatever
|
|
return {
|
|
object {
|
|
val keys = key
|
|
}.keys
|
|
}.let { it() }
|
|
} |