JVM_IR KT-46562 don't use LambdaMetafactory for Serializable SAMs
TODO support serializable lambdas creation with LambdaMetafactory
This commit is contained in:
+12
@@ -20931,6 +20931,18 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/samExtFunWithCapturingLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableSam1.kt")
|
||||
public void testSerializableSam1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/serializableSam1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableSam2.kt")
|
||||
public void testSerializableSam2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/serializableSam2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunInterfaceConstructor.kt")
|
||||
public void testSimpleFunInterfaceConstructor() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user