[FIR] Unwrap captured types in target type of SAM conversion

^KT-66256 Fixed
This commit is contained in:
Dmitriy Novozhilov
2024-03-01 14:06:27 +02:00
committed by Space Team
parent 690f39b91c
commit b875ae774e
28 changed files with 185 additions and 26 deletions
@@ -41786,6 +41786,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("inProjectedSam.kt")
public void testInProjectedSam() {
runTest("compiler/testData/codegen/box/sam/inProjectedSam.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() {
@@ -42826,6 +42826,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("inProjectedSam.kt")
public void testInProjectedSam() {
runTest("compiler/testData/codegen/box/sam/inProjectedSam.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() {
@@ -40158,6 +40158,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("inProjectedSam.kt")
public void testInProjectedSam() {
runTest("compiler/testData/codegen/box/sam/inProjectedSam.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() {
@@ -41187,6 +41187,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("inProjectedSam.kt")
public void testInProjectedSam() {
runTest("compiler/testData/codegen/box/sam/inProjectedSam.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() {