[FIR] Set publishedApiEffectiveVisibility on deserialized declarations

#KT-58641 Fixed
This commit is contained in:
Kirill Rakhman
2023-06-05 13:54:22 +02:00
committed by Space Team
parent 2581139b82
commit ee91ee9403
38 changed files with 737 additions and 37 deletions
@@ -29866,6 +29866,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/publishedApi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("inlineFromFriendModule.kt")
public void testInlineFromFriendModule() throws Exception {
runTest("compiler/testData/codegen/box/publishedApi/inlineFromFriendModule.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -30542,6 +30542,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/publishedApi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("inlineFromFriendModule.kt")
public void testInlineFromFriendModule() throws Exception {
runTest("compiler/testData/codegen/box/publishedApi/inlineFromFriendModule.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -29529,6 +29529,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/publishedApi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("inlineFromFriendModule.kt")
public void testInlineFromFriendModule() throws Exception {
runTest("compiler/testData/codegen/box/publishedApi/inlineFromFriendModule.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -29867,6 +29867,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/publishedApi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("inlineFromFriendModule.kt")
public void testInlineFromFriendModule() throws Exception {
runTest("compiler/testData/codegen/box/publishedApi/inlineFromFriendModule.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {