K2: introduce platform-specific visibility checks for overrides + tests
Related to KT-53197
This commit is contained in:
+12
@@ -33872,6 +33872,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/lackOfInvisibleSetterOfJavaClassInSamePackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notOverridingInternal.kt")
|
||||
public void testNotOverridingInternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/notOverridingInternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notOverridingPackagePrivate.kt")
|
||||
public void testNotOverridingPackagePrivate() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/notOverridingPackagePrivate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideOfMemberInPackagePrivateClass.kt")
|
||||
public void testOverrideOfMemberInPackagePrivateClass() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user