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