[JS IR] Do not copy interface method if base class inherits it

^KT-58599 Fixed
This commit is contained in:
Alexander Korepanov
2023-05-30 08:22:43 +00:00
committed by Space Team
parent 9ca9fc9c68
commit 8066f1b7d2
54 changed files with 886 additions and 8 deletions
@@ -0,0 +1,3 @@
fun getObjectA() : A<Int> {
return myObject
}
@@ -0,0 +1,3 @@
fun getObjectB() : B {
return myObject
}
@@ -0,0 +1,4 @@
private class MyClass : B() {
}
internal val myObject: B = MyClass()
@@ -0,0 +1,13 @@
STEP 0:
dependencies: lib1
added file: MyClass.kt, GetB.kt, GetA.kt
STEP 1..4:
dependencies: lib1
STEP 5:
dependencies: lib1
updated imports: GetA.kt, MyClass.kt
STEP 6:
dependencies: lib1
STEP 7:
dependencies: lib1
updated imports: MyClass.kt