[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,8 @@
interface A {
fun testA1() = 2
fun testA2() = 3
val testA3: Int
get() = 1
}
@@ -12,3 +12,11 @@ STEP 1:
updated imports: InterfaceB.kt, InterfaceC.kt
STEP 2:
updated exports: InterfaceB.kt, InterfaceC.kt
STEP 3:
modifications:
U : InterfaceA.3.kt -> InterfaceA.kt
modified ir: InterfaceA.kt
updated exports: InterfaceA.kt
updated imports: InterfaceB.kt, InterfaceC.kt
STEP 4:
updated exports: InterfaceB.kt, InterfaceC.kt, InterfaceA.kt