blob: f175b371623168fc9fbeb4abb8c10097f1d960d7 [file]
import kotlin.reflect.KProperty
class Delegate {
operator fun getValue(t: Any?, p: KProperty<*>): Int = 3
}
val prop: Int by Delegate()
val x = ::prop
val y = x.get()
// expected: y: 3