KT-36972 Don't create proxies for companion @JvmStatic $default in host
When creating proxy functions in a host class for @JvmStatic members of companion object, skip functions for default parameters handling.
This commit is contained in:
+10
@@ -9417,6 +9417,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/inheritedFromInterfaceViaAbstractSuperclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36972_companion.kt")
|
||||
public void testKt36972_companion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt36972_companion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36972_object.kt")
|
||||
public void testKt36972_object() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt36972_object.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt6382.kt")
|
||||
public void testKt6382() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt");
|
||||
|
||||
+5
@@ -69,6 +69,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/jvmOverloadsAndParametersAnnotations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmStaticWithDefaultParameters.kt")
|
||||
public void testJvmStaticWithDefaultParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/jvmStaticWithDefaultParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noCollectionStubMethodsInInterface.kt")
|
||||
public void testNoCollectionStubMethodsInInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/noCollectionStubMethodsInInterface.kt");
|
||||
|
||||
+10
@@ -9417,6 +9417,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/inheritedFromInterfaceViaAbstractSuperclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36972_companion.kt")
|
||||
public void testKt36972_companion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt36972_companion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36972_object.kt")
|
||||
public void testKt36972_object() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt36972_object.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt6382.kt")
|
||||
public void testKt6382() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt");
|
||||
|
||||
+10
@@ -8272,6 +8272,16 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/inheritedFromInterfaceViaAbstractSuperclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36972_companion.kt")
|
||||
public void testKt36972_companion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt36972_companion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36972_object.kt")
|
||||
public void testKt36972_object() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt36972_object.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt6382.kt")
|
||||
public void testKt6382() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt");
|
||||
|
||||
+5
@@ -69,6 +69,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
|
||||
runTest("compiler/testData/codegen/bytecodeListing/jvmOverloadsAndParametersAnnotations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmStaticWithDefaultParameters.kt")
|
||||
public void testJvmStaticWithDefaultParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/jvmStaticWithDefaultParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noCollectionStubMethodsInInterface.kt")
|
||||
public void testNoCollectionStubMethodsInInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/noCollectionStubMethodsInInterface.kt");
|
||||
|
||||
Reference in New Issue
Block a user