blob: c5a84b87a730d2e10b49686e035fcb4d6069ec61 [file]
// RUN_PIPELINE_TILL: BACKEND
// ISSUE: KT-66638
class Super<T1, T2>
data class Child<T : Super<String, Child<T>>>(val foo: String)
fun foo(child: Child<*>) {
child.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>foo<!>
}
/* GENERATED_FIR_TAGS: classDeclaration, data, functionDeclaration, nullableType, primaryConstructor,
propertyDeclaration, starProjection, typeConstraint, typeParameter */