[Test] Reproduce KT-63738

This commit is contained in:
Dmitriy Novozhilov
2023-11-23 16:16:14 +02:00
committed by Space Team
parent a15057b2ca
commit c34511af37
7 changed files with 61 additions and 0 deletions
@@ -0,0 +1,18 @@
// 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)
}