[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
@@ -59,6 +59,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
|
||||
Generated
+6
@@ -59,6 +59,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
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
@@ -79,12 +79,6 @@ public class FirPsiJsOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiJ
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/noImpl.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overridesMemberWithPlatformDependent.kt")
|
||||
public void testOverridesMemberWithPlatformDependent() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/overridesMemberWithPlatformDependent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("platformDependent.kt")
|
||||
public void testPlatformDependent() throws Exception {
|
||||
|
||||
Generated
-6
@@ -79,12 +79,6 @@ public class DiagnosticsWithJsStdLibTestGenerated extends AbstractDiagnosticsTes
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/noImpl.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overridesMemberWithPlatformDependent.kt")
|
||||
public void testOverridesMemberWithPlatformDependent() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/overridesMemberWithPlatformDependent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("platformDependent.kt")
|
||||
public void testPlatformDependent() throws Exception {
|
||||
|
||||
+6
@@ -59,6 +59,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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
@@ -59,6 +59,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user