[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 @@
fun getObjectA() : A {
return myObject
}
@@ -0,0 +1,3 @@
fun getObjectB() : B {
return myObject
}
@@ -0,0 +1,3 @@
fun getObjectC() : C {
return myObject
}
@@ -0,0 +1,4 @@
private class MyClass : C {
}
internal val myObject: C = MyClass()
@@ -0,0 +1,8 @@
STEP 0:
dependencies: lib1
added file: GetA.kt, GetB.kt, GetC.kt, MyClass.kt
STEP 1:
dependencies: lib1
updated imports: MyClass.kt, GetB.kt, GetC.kt, GetA.kt
STEP 2:
dependencies: lib1