[JS IR] Do not copy prototype references of FO from super class
Reduce bundle size from issue from 4.9M to 3.4M - fix KT-41227 - add simple test
This commit is contained in:
+5
@@ -3470,6 +3470,11 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
||||
runTest("js/js.translator/testData/box/inheritance/baseClassDefinedAfterDerived.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("childPrototype.kt")
|
||||
public void testChildPrototype() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/childPrototype.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("complexInitializationOrder.kt")
|
||||
public void testComplexInitializationOrder() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/complexInitializationOrder.kt");
|
||||
|
||||
+5
@@ -3470,6 +3470,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/inheritance/baseClassDefinedAfterDerived.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("childPrototype.kt")
|
||||
public void testChildPrototype() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/childPrototype.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("complexInitializationOrder.kt")
|
||||
public void testComplexInitializationOrder() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/complexInitializationOrder.kt");
|
||||
|
||||
+5
@@ -3485,6 +3485,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/inheritance/baseClassDefinedAfterDerived.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("childPrototype.kt")
|
||||
public void testChildPrototype() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/childPrototype.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("complexInitializationOrder.kt")
|
||||
public void testComplexInitializationOrder() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inheritance/complexInitializationOrder.kt");
|
||||
|
||||
Reference in New Issue
Block a user