[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
@@ -38193,6 +38193,12 @@ public class FirWasmJsCodegenBoxTestGenerated extends AbstractFirWasmJsCodegenBo
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@Test
@TestMetadata("inProjectedSam.kt")
public void testInProjectedSam() {
runTest("compiler/testData/codegen/box/sam/inProjectedSam.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() {
@@ -37617,6 +37617,12 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@Test
@TestMetadata("inProjectedSam.kt")
public void testInProjectedSam() {
runTest("compiler/testData/codegen/box/sam/inProjectedSam.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() {