Files
kotlin-fork/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt
T
Sergej Jaskiewicz 02180e8685 Factor out duplicated mangling logic for functions into the base class
^KT-57777 Fixed
^KT-57818 Fixed
2023-05-26 10:55:24 +00:00

9 lines
215 B
Kotlin
Vendored

class C<T>
object Delegate {
operator fun getValue(thisRef: Any?, kProp: Any?) = 42
operator fun setValue(thisRef: Any?, kProp: Any? , newValue: Int) {}
}
var <T> C<T>.genericDelegatedProperty by Delegate