[FIR] Use FirDefaultOverridesBackwardCompatibilityHelper with common metadata compilation

Also, use it with JS compilation

^KT-57735 Fixed
This commit is contained in:
Ivan Kochurkin
2023-04-06 20:08:56 +02:00
parent 4969a0e4f6
commit 9a5cc39588
19 changed files with 201 additions and 106 deletions
@@ -61,6 +61,12 @@ 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 {