[FIR] Fix inference based on recursive upper bound

#KT-59012 Fixed
This commit is contained in:
Kirill Rakhman
2023-12-06 14:11:29 +01:00
committed by Space Team
parent 251827c9aa
commit 9d91eb2510
14 changed files with 98 additions and 40 deletions
@@ -17875,6 +17875,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/capturedFlexibleIntersectionTypesWithDifferentConstructors.kt");
}
@Test
@TestMetadata("capturedInTypeInference.kt")
public void testCapturedInTypeInference() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/capturedInTypeInference.kt");
}
@Test
@TestMetadata("capturedType.kt")
public void testCapturedType() throws Exception {
@@ -17875,6 +17875,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/capturedFlexibleIntersectionTypesWithDifferentConstructors.kt");
}
@Test
@TestMetadata("capturedInTypeInference.kt")
public void testCapturedInTypeInference() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/capturedInTypeInference.kt");
}
@Test
@TestMetadata("capturedType.kt")
public void testCapturedType() throws Exception {