[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
@@ -13582,6 +13582,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/inference/noCoercionToUnitWithEqualityConstraintForNullableReturnType.kt");
}
@TestMetadata("overrideDefaultProperty.kt")
public void testOverrideDefaultProperty() throws Exception {
runTest("compiler/testData/codegen/box/inference/overrideDefaultProperty.kt");
}
@TestMetadata("overrideGenericDefaultMethod.kt")
public void testOverrideGenericDefaultMethod() throws Exception {
runTest("compiler/testData/codegen/box/inference/overrideGenericDefaultMethod.kt");
}
@TestMetadata("plusAssignInsideLambda.kt")
public void testPlusAssignInsideLambda() throws Exception {
runTest("compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt");
@@ -31429,6 +31439,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testOk() throws Exception {
runTest("compiler/testData/codegen/box/size/ok.kt");
}
@TestMetadata("removeUnusedOverride.kt")
public void testRemoveUnusedOverride() throws Exception {
runTest("compiler/testData/codegen/box/size/removeUnusedOverride.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/smap")