FIR: Refine visibility check for class members
This commit is contained in:
committed by
TeamCityServer
parent
d702365632
commit
fba44759c0
+12
@@ -32019,6 +32019,18 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/lackOfInvisibleSetterOfJavaClassInSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideOfMemberInPackagePrivateClass.kt")
|
||||
public void testOverrideOfMemberInPackagePrivateClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/overrideOfMemberInPackagePrivateClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateCompanionInSuperClass.kt")
|
||||
public void testPrivateCompanionInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/privateCompanionInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protectedInternal.kt")
|
||||
public void testProtectedInternal() throws Exception {
|
||||
|
||||
+12
@@ -32019,6 +32019,18 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/lackOfInvisibleSetterOfJavaClassInSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideOfMemberInPackagePrivateClass.kt")
|
||||
public void testOverrideOfMemberInPackagePrivateClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/overrideOfMemberInPackagePrivateClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateCompanionInSuperClass.kt")
|
||||
public void testPrivateCompanionInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/privateCompanionInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protectedInternal.kt")
|
||||
public void testProtectedInternal() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user