blob: 3b9c5601665aba7d986787be46ca831493930805 [file]
// FIR_IDENTICAL
// DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE
import kotlin.reflect.KProperty
class Local {
fun foo() {
val a: Int by Delegate()
}
}
class Delegate {
operator fun getValue(t: Any?, p: KProperty<*>): Int {
return 1
}
}