JVM_IR: Do not unbox Result argument inside SAM adapters
#KT-45259 Fixed
This commit is contained in:
+22
@@ -18628,6 +18628,28 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses/funInterface")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FunInterface {
|
||||
@Test
|
||||
public void testAllFilesPresentInFunInterface() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("argumentIC.kt")
|
||||
public void testArgumentIC() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/argumentIC.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("argumentResult.kt")
|
||||
public void testArgumentResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/argumentResult.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses/functionNameMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+22
@@ -18628,6 +18628,28 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses/funInterface")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FunInterface {
|
||||
@Test
|
||||
public void testAllFilesPresentInFunInterface() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/funInterface"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("argumentIC.kt")
|
||||
public void testArgumentIC() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/argumentIC.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("argumentResult.kt")
|
||||
public void testArgumentResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/argumentResult.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses/functionNameMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user