[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
@@ -1639,6 +1639,11 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/metadata/moduleNameWithFir.args");
}
@TestMetadata("noVirtualFileHiddenForMemberWithPlatformDependentAnnotation.args")
public void testNoVirtualFileHiddenForMemberWithPlatformDependentAnnotation() throws Exception {
runTest("compiler/testData/cli/metadata/noVirtualFileHiddenForMemberWithPlatformDependentAnnotation.args");
}
@TestMetadata("optionalAnnotationsFromMetadata.args")
public void testOptionalAnnotationsFromMetadata() throws Exception {
runTest("compiler/testData/cli/metadata/optionalAnnotationsFromMetadata.args");