[Common IR] Do not add internal methods to overrides
[JS IR] Use a module name in JsFunctionSignature for internal methods ^KT-60635 Fixed
This commit is contained in:
committed by
Space Team
parent
788fa5d545
commit
7a31167e0b
Generated
+6
@@ -385,6 +385,12 @@ public class JsFirInvalidationPerFileTestGenerated extends AbstractJsFirInvalida
|
||||
runTest("js/js.translator/testData/incremental/invalidation/nonInlineBecomeInline/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openClassWithInternalField")
|
||||
public void testOpenClassWithInternalField() throws Exception {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/openClassWithInternalField/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateDeclarationLeakThroughDefaultParam")
|
||||
public void testPrivateDeclarationLeakThroughDefaultParam() throws Exception {
|
||||
|
||||
Generated
+6
@@ -385,6 +385,12 @@ public class JsFirInvalidationPerModuleTestGenerated extends AbstractJsFirInvali
|
||||
runTest("js/js.translator/testData/incremental/invalidation/nonInlineBecomeInline/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openClassWithInternalField")
|
||||
public void testOpenClassWithInternalField() throws Exception {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/openClassWithInternalField/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateDeclarationLeakThroughDefaultParam")
|
||||
public void testPrivateDeclarationLeakThroughDefaultParam() throws Exception {
|
||||
|
||||
Generated
+6
@@ -385,6 +385,12 @@ public class JsIrES6InvalidationPerFileTestGenerated extends AbstractJsIrES6Inva
|
||||
runTest("js/js.translator/testData/incremental/invalidation/nonInlineBecomeInline/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openClassWithInternalField")
|
||||
public void testOpenClassWithInternalField() throws Exception {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/openClassWithInternalField/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateDeclarationLeakThroughDefaultParam")
|
||||
public void testPrivateDeclarationLeakThroughDefaultParam() throws Exception {
|
||||
|
||||
+6
@@ -385,6 +385,12 @@ public class JsIrES6InvalidationPerModuleTestGenerated extends AbstractJsIrES6In
|
||||
runTest("js/js.translator/testData/incremental/invalidation/nonInlineBecomeInline/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openClassWithInternalField")
|
||||
public void testOpenClassWithInternalField() throws Exception {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/openClassWithInternalField/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateDeclarationLeakThroughDefaultParam")
|
||||
public void testPrivateDeclarationLeakThroughDefaultParam() throws Exception {
|
||||
|
||||
Generated
+6
@@ -385,6 +385,12 @@ public class JsIrInvalidationPerFileTestGenerated extends AbstractJsIrInvalidati
|
||||
runTest("js/js.translator/testData/incremental/invalidation/nonInlineBecomeInline/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openClassWithInternalField")
|
||||
public void testOpenClassWithInternalField() throws Exception {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/openClassWithInternalField/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateDeclarationLeakThroughDefaultParam")
|
||||
public void testPrivateDeclarationLeakThroughDefaultParam() throws Exception {
|
||||
|
||||
Generated
+6
@@ -385,6 +385,12 @@ public class JsIrInvalidationPerModuleTestGenerated extends AbstractJsIrInvalida
|
||||
runTest("js/js.translator/testData/incremental/invalidation/nonInlineBecomeInline/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openClassWithInternalField")
|
||||
public void testOpenClassWithInternalField() throws Exception {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/openClassWithInternalField/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateDeclarationLeakThroughDefaultParam")
|
||||
public void testPrivateDeclarationLeakThroughDefaultParam() throws Exception {
|
||||
|
||||
+24
@@ -1505,6 +1505,30 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/bridges/innerClassTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideInFriendModule.kt")
|
||||
public void testInternalMethodOverrideInFriendModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideInFriendModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideInOtherModule.kt")
|
||||
public void testInternalMethodOverrideInOtherModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideInOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideMultipleInheritance.kt")
|
||||
public void testInternalMethodOverrideMultipleInheritance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideMultipleInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverridePublishedApi.kt")
|
||||
public void testInternalMethodOverridePublishedApi() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverridePublishedApi.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsName.kt")
|
||||
public void testJsName() throws Exception {
|
||||
|
||||
Generated
+24
@@ -1505,6 +1505,30 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/bridges/innerClassTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideInFriendModule.kt")
|
||||
public void testInternalMethodOverrideInFriendModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideInFriendModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideInOtherModule.kt")
|
||||
public void testInternalMethodOverrideInOtherModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideInOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideMultipleInheritance.kt")
|
||||
public void testInternalMethodOverrideMultipleInheritance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideMultipleInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverridePublishedApi.kt")
|
||||
public void testInternalMethodOverridePublishedApi() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverridePublishedApi.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsName.kt")
|
||||
public void testJsName() throws Exception {
|
||||
|
||||
+24
@@ -1505,6 +1505,30 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/bridges/innerClassTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideInFriendModule.kt")
|
||||
public void testInternalMethodOverrideInFriendModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideInFriendModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideInOtherModule.kt")
|
||||
public void testInternalMethodOverrideInOtherModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideInOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideMultipleInheritance.kt")
|
||||
public void testInternalMethodOverrideMultipleInheritance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideMultipleInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverridePublishedApi.kt")
|
||||
public void testInternalMethodOverridePublishedApi() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverridePublishedApi.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsName.kt")
|
||||
public void testJsName() throws Exception {
|
||||
|
||||
+24
@@ -1505,6 +1505,30 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/bridges/innerClassTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideInFriendModule.kt")
|
||||
public void testInternalMethodOverrideInFriendModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideInFriendModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideInOtherModule.kt")
|
||||
public void testInternalMethodOverrideInOtherModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideInOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverrideMultipleInheritance.kt")
|
||||
public void testInternalMethodOverrideMultipleInheritance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverrideMultipleInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalMethodOverridePublishedApi.kt")
|
||||
public void testInternalMethodOverridePublishedApi() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/internalMethodOverridePublishedApi.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsName.kt")
|
||||
public void testJsName() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user