[FE] Prohibit protected members in final expected or actual classes
^KT-28850 Fixed
This commit is contained in:
committed by
Space Team
parent
2f5b1dff16
commit
b368b78faa
+6
@@ -21232,6 +21232,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/protected.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protectedInExpectActual.kt")
|
||||
public void testProtectedInExpectActual() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/protectedInExpectActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("redundantTargets.kt")
|
||||
public void testRedundantTargets() throws Exception {
|
||||
|
||||
+6
@@ -21232,6 +21232,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/protected.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protectedInExpectActual.kt")
|
||||
public void testProtectedInExpectActual() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/protectedInExpectActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("redundantTargets.kt")
|
||||
public void testRedundantTargets() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user