[FIR] Consider @PlatformDependent annotation everywhere (including JS and Native)

^KT-57858 Fixed

Remove FirEmptyOverridesBackwardCompatibilityHelper since it's not used anymore

Remove overridesMemberWithPlatformDependent.kt test file since it becomes redundant
This commit is contained in:
Ivan Kochurkin
2023-09-15 14:47:15 +02:00
committed by Space Team
parent 1026cdf035
commit 3cd4f7c3aa
27 changed files with 110 additions and 82 deletions
@@ -70,6 +70,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("platformDependent.kt")
public void testPlatformDependent() throws Exception {
runTest("compiler/testData/codegen/box/annotations/platformDependent.kt");
}
@Test
@TestMetadata("resolveWithLowPriorityAnnotation.kt")
public void testResolveWithLowPriorityAnnotation() throws Exception {
@@ -76,6 +76,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("platformDependent.kt")
public void testPlatformDependent() throws Exception {
runTest("compiler/testData/codegen/box/annotations/platformDependent.kt");
}
@Test
@TestMetadata("resolveWithLowPriorityAnnotation.kt")
public void testResolveWithLowPriorityAnnotation() throws Exception {
@@ -68,6 +68,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("platformDependent.kt")
public void testPlatformDependent() throws Exception {
runTest("compiler/testData/codegen/box/annotations/platformDependent.kt");
}
@Test
@TestMetadata("resolveWithLowPriorityAnnotation.kt")
public void testResolveWithLowPriorityAnnotation() throws Exception {
@@ -71,6 +71,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@Test
@TestMetadata("platformDependent.kt")
public void testPlatformDependent() throws Exception {
runTest("compiler/testData/codegen/box/annotations/platformDependent.kt");
}
@Test
@TestMetadata("resolveWithLowPriorityAnnotation.kt")
public void testResolveWithLowPriorityAnnotation() throws Exception {
@@ -72,12 +72,6 @@ public class DiagnosticsNativeTestGenerated extends AbstractDiagnosticsNativeTes
runTest("compiler/testData/diagnostics/nativeTests/objCRefinement.kt");
}
@Test
@TestMetadata("overridesMemberWithPlatformDependent.kt")
public void testOverridesMemberWithPlatformDependent() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/overridesMemberWithPlatformDependent.kt");
}
@Test
@TestMetadata("sharedImmutable.kt")
public void testSharedImmutable() throws Exception {
@@ -76,12 +76,6 @@ public class FirLightTreeOldFrontendNativeDiagnosticsTestGenerated extends Abstr
runTest("compiler/testData/diagnostics/nativeTests/objCRefinement.kt");
}
@Test
@TestMetadata("overridesMemberWithPlatformDependent.kt")
public void testOverridesMemberWithPlatformDependent() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/overridesMemberWithPlatformDependent.kt");
}
@Test
@TestMetadata("sharedImmutable.kt")
public void testSharedImmutable() throws Exception {
@@ -76,12 +76,6 @@ public class FirPsiOldFrontendNativeDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/nativeTests/objCRefinement.kt");
}
@Test
@TestMetadata("overridesMemberWithPlatformDependent.kt")
public void testOverridesMemberWithPlatformDependent() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/overridesMemberWithPlatformDependent.kt");
}
@Test
@TestMetadata("sharedImmutable.kt")
public void testSharedImmutable() throws Exception {