[FIR] Approximate captured types during approximation of local types

^KT-57222 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-04-27 16:11:12 +03:00
committed by Space Team
parent ad002437b4
commit f7733e819d
17 changed files with 127 additions and 5 deletions
@@ -27189,6 +27189,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("anonymousObjectAndContrvariantProjection.kt")
public void testAnonymousObjectAndContrvariantProjection() throws Exception {
runTest("compiler/testData/codegen/box/objects/anonymousObjectAndContrvariantProjection.kt");
}
@Test
@TestMetadata("anonymousObjectPropertyInitialization.kt")
public void testAnonymousObjectPropertyInitialization() throws Exception {
@@ -27811,6 +27811,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("anonymousObjectAndContrvariantProjection.kt")
public void testAnonymousObjectAndContrvariantProjection() throws Exception {
runTest("compiler/testData/codegen/box/objects/anonymousObjectAndContrvariantProjection.kt");
}
@Test
@TestMetadata("anonymousObjectPropertyInitialization.kt")
public void testAnonymousObjectPropertyInitialization() throws Exception {
@@ -26878,6 +26878,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("anonymousObjectAndContrvariantProjection.kt")
public void testAnonymousObjectAndContrvariantProjection() throws Exception {
runTest("compiler/testData/codegen/box/objects/anonymousObjectAndContrvariantProjection.kt");
}
@Test
@TestMetadata("anonymousObjectPropertyInitialization.kt")
public void testAnonymousObjectPropertyInitialization() throws Exception {
@@ -27500,6 +27500,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("anonymousObjectAndContrvariantProjection.kt")
public void testAnonymousObjectAndContrvariantProjection() throws Exception {
runTest("compiler/testData/codegen/box/objects/anonymousObjectAndContrvariantProjection.kt");
}
@Test
@TestMetadata("anonymousObjectPropertyInitialization.kt")
public void testAnonymousObjectPropertyInitialization() throws Exception {