blob: b62ae646b160aa8932bbd4c4388f96a6e72b0542 [file]
// RUN_PIPELINE_TILL: FRONTEND
// DIAGNOSTICS: -UNUSED_PARAMETER
import kotlin.reflect.KProperty
var a: Int by <!DELEGATE_SPECIAL_FUNCTION_MISSING("setValue(Nothing?, KProperty<*>, Int); A; delegate for var (read-write property)")!>A()<!>
class A {
operator fun getValue(t: Any?, p: KProperty<*>): Int {
return 1
}
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, integerLiteral, nullableType, operator,
propertyDeclaration, propertyDelegate, setter, starProjection */