[FE 1.0] Don't throw empty intersection exception, return empty intersection type instead
This commit is contained in:
committed by
teamcity
parent
a798fe0b18
commit
5b5da025f4
Generated
+6
@@ -13676,6 +13676,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/discardInapplicableCandidateWithNotSatisfyingSelfType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontThrowEmptyIntersectionException.kt")
|
||||
public void testDontThrowEmptyIntersectionException() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/dontThrowEmptyIntersectionException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalitySubstitutionInsideNonInvariantType.kt")
|
||||
public void testEqualitySubstitutionInsideNonInvariantType() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user