[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:
committed by
Space Team
parent
1026cdf035
commit
3cd4f7c3aa
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
-6
@@ -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 {
|
||||
|
||||
-6
@@ -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 {
|
||||
|
||||
-6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user