blob: e94c590fd9d07ad6bd6e9112d184269824d4f167 [file]
// RUN_PIPELINE_TILL: CODEGEN
// ISSUE: KT-63738
// SCOPE_DUMP: D:foo
interface A<E1> {
fun foo(): E1 // (1)
}
interface B<E2> : A<E2> {
override fun foo(): E2 // (2)
}
interface C<E3> : A<E3> {
// substitution-override fun foo(): E3 // (3)
}
interface D<E4> : B<E4>, C<E4> {
// substitution-override fun foo(): E4 // (4)
}
/* GENERATED_FIR_TAGS: functionDeclaration, interfaceDeclaration, nullableType, override, typeParameter */