[JS IR] Do not copy interface method if base class inherits it
^KT-58599 Fixed
This commit is contained in:
committed by
Space Team
parent
9ca9fc9c68
commit
8066f1b7d2
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
interface A {
|
||||
fun testA1() = 2
|
||||
|
||||
fun testA2() = 3
|
||||
|
||||
val testA3: Int
|
||||
get() = 1
|
||||
}
|
||||
+8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user