9 lines
182 B
Kotlin
Vendored
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" }
|