FIR: intersect return types of declarations in intersection scopes
^KT-54378 Fixed
This commit is contained in:
Generated
+12
@@ -29711,6 +29711,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/smartCasts/intersectionScope"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedSpecificity.kt")
|
||||
public void testCapturedSpecificity() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/intersectionScope/capturedSpecificity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictTypeParameters.kt")
|
||||
public void testConflictTypeParameters() throws Exception {
|
||||
@@ -29729,6 +29735,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/intersectionScope/flexibleTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectReturnType.kt")
|
||||
public void testIntersectReturnType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/intersectionScope/intersectReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("moreSpecificSetter.kt")
|
||||
public void testMoreSpecificSetter() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user