JVM_IR wrap function into a proxy if indy SAM-conversion becomes valid
This commit is contained in:
committed by
teamcityserver
parent
9ad62eb1fd
commit
40fe67880b
+36
@@ -22233,6 +22233,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/genericLambdaSignature.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunWithPrivateMethod.kt")
|
||||
public void testInlineFunWithPrivateMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/inlineFunWithPrivateMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineOnly.kt")
|
||||
public void testInlineOnly() throws Exception {
|
||||
@@ -22281,6 +22287,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/primitiveVsWrapperInSam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reifiedTypeParameter.kt")
|
||||
public void testReifiedTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/reifiedTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionInsideSamConvertedLambda.kt")
|
||||
public void testSamConversionInsideSamConvertedLambda() throws Exception {
|
||||
@@ -22480,6 +22492,18 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/enhancedNullability.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBoundInnerConstructorRef.kt")
|
||||
public void testGenericBoundInnerConstructorRef() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/genericBoundInnerConstructorRef.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericInnerConstructorRef.kt")
|
||||
public void testGenericInnerConstructorRef() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/genericInnerConstructorRef.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerConstructorRef.kt")
|
||||
public void testInnerConstructorRef() throws Exception {
|
||||
@@ -22534,6 +22558,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/multifileClassMemberFromStdlib.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleProxyWrappersForSameFunction.kt")
|
||||
public void testMultipleProxyWrappersForSameFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/multipleProxyWrappersForSameFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonTrivialReceiver.kt")
|
||||
public void testNonTrivialReceiver() throws Exception {
|
||||
@@ -22621,6 +22651,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/enumValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intArrayOf.kt")
|
||||
public void testIntArrayOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/intArrayOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intPlus.kt")
|
||||
public void testIntPlus() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user