[FIR] Handle ConeIntersectionType in createSimpleType

^KT-62819 Fixed
This commit is contained in:
Ivan Kochurkin
2023-11-02 21:09:39 +01:00
committed by Space Team
parent 11586975e8
commit 3188f01720
7 changed files with 54 additions and 1 deletions
@@ -15912,6 +15912,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/inference/intersectionTypeMultipleBoundsAsReceiver.kt");
}
@Test
@TestMetadata("intersectionTypeOnWhenCall.kt")
public void testIntersectionTypeOnWhenCall() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/intersectionTypeOnWhenCall.kt");
}
@Test
@TestMetadata("intersectionTypesWithContravariantTypes.kt")
public void testIntersectionTypesWithContravariantTypes() throws Exception {
@@ -15912,6 +15912,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/inference/intersectionTypeMultipleBoundsAsReceiver.kt");
}
@Test
@TestMetadata("intersectionTypeOnWhenCall.kt")
public void testIntersectionTypeOnWhenCall() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/intersectionTypeOnWhenCall.kt");
}
@Test
@TestMetadata("intersectionTypesWithContravariantTypes.kt")
public void testIntersectionTypesWithContravariantTypes() throws Exception {