| // RUN_PIPELINE_TILL: FRONTEND | |
| interface PsiMember | |
| interface PsiField : PsiMember | |
| abstract class LightMemberImpl<out D : PsiMember>(computeRealDelegate: () -> D) { | |
| open val delegate by lazy(computeRealDelegate) | |
| } | |
| abstract class LightFieldImpl<D : PsiField>(computeRealDelegate: () -> D) : LightMemberImpl<PsiField>(computeRealDelegate) { | |
| override val delegate: D | |
| get() = <!RETURN_TYPE_MISMATCH!>super.delegate<!> | |
| } | |
| /* GENERATED_FIR_TAGS: classDeclaration, functionalType, getter, interfaceDeclaration, out, override, primaryConstructor, | |
| propertyDeclaration, propertyDelegate, starProjection, superExpression, typeConstraint, typeParameter */ |