[JS IR] Add IC test for interface with default implementation

This commit is contained in:
Alexander Korepanov
2023-05-01 10:53:03 +02:00
committed by Space Team
parent 180613e1c6
commit 9da9c95105
18 changed files with 119 additions and 0 deletions
@@ -0,0 +1,3 @@
interface A {
fun testA1() = 1
}
@@ -0,0 +1,5 @@
interface A {
fun testA1() = 2
fun testA2() = 1
}
@@ -0,0 +1,3 @@
interface B : A {
fun testB1() = 2
}
@@ -0,0 +1,3 @@
interface C : B {
fun testC1() = 3
}
@@ -0,0 +1,14 @@
STEP 0:
modifications:
U : InterfaceA.0.kt -> InterfaceA.kt
U : InterfaceB.0.kt -> InterfaceB.kt
U : InterfaceC.0.kt -> InterfaceC.kt
added file: InterfaceA.kt, InterfaceB.kt, InterfaceC.kt
STEP 1:
modifications:
U : InterfaceA.1.kt -> InterfaceA.kt
modified ir: InterfaceA.kt
updated exports: InterfaceA.kt
updated imports: InterfaceB.kt, InterfaceC.kt
STEP 2:
updated exports: InterfaceB.kt, InterfaceC.kt