Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/delegates/extensionGenericGetValue.kt
T
2020-12-16 19:52:30 +03:00

9 lines
182 B
Kotlin
Vendored

inline fun <L> runLogged(action: () -> L): L {
return action()
}
operator fun <V> V.getValue(receiver: Any?, p: Any): V =
runLogged { this }
val testK by runLogged { "K" }