Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/delegates/extensionGenericGetValue.kt
T
2020-03-19 09:51:01 +03:00

8 lines
181 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" }