JVM_IR: Do not unbox Result argument inside java SAM adapters

#KT-45259
This commit is contained in:
Ilmir Usmanov
2021-03-12 22:59:52 +01:00
parent 4099dfc7e0
commit 149064803d
6 changed files with 57 additions and 5 deletions
@@ -18648,6 +18648,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testArgumentResult() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/argumentResult.kt");
}
@Test
@TestMetadata("javaSam.kt")
public void testJavaSam() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/javaSam.kt");
}
}
@Nested
@@ -18648,6 +18648,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
public void testArgumentResult() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/argumentResult.kt");
}
@Test
@TestMetadata("javaSam.kt")
public void testJavaSam() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/javaSam.kt");
}
}
@Nested