[FIR] Properly calculate visibilities
`testIntersectionOfPrimitiveBasedFunctions` is fine, because we deprecate this already in ^KT-63243. `CANNOT_INFER_VISIBILITY` is positioned as `DECLARATION_NAME`, just in case we decide for some reason that we do want to report it along with `MANY_*_NOT_IMPLEMENTED`. In that case, we'd get a problem that their bounds overlap, but not completely contain one another. ^KT-63741 Fixed ^KT-59400 Fixed
This commit is contained in:
committed by
Space Team
parent
7056ad5325
commit
8f8c7fe7cf
+6
-6
@@ -1059,6 +1059,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/PackageQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("phantomIntersections.kt")
|
||||
public void testPhantomIntersections() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/phantomIntersections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("prefixIncReturnType.kt")
|
||||
public void testPrefixIncReturnType() throws Exception {
|
||||
@@ -26700,12 +26706,6 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/override/kt2052.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt2491.kt")
|
||||
public void testKt2491() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/override/kt2491.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt4763.kt")
|
||||
public void testKt4763() throws Exception {
|
||||
|
||||
+6
-6
@@ -1059,6 +1059,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/PackageQualified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("phantomIntersections.kt")
|
||||
public void testPhantomIntersections() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/phantomIntersections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("prefixIncReturnType.kt")
|
||||
public void testPrefixIncReturnType() throws Exception {
|
||||
@@ -26706,12 +26712,6 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/override/kt2052.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt2491.kt")
|
||||
public void testKt2491() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/override/kt2491.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt4763.kt")
|
||||
public void testKt4763() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user