[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
@@ -30462,6 +30462,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/publishedApi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("inlineFromFriendModule.kt")
public void testInlineFromFriendModule() throws Exception {
runTest("compiler/testData/codegen/box/publishedApi/inlineFromFriendModule.kt");
}
@TestMetadata("noMangling.kt")
public void testNoMangling() throws Exception {
runTest("compiler/testData/codegen/box/publishedApi/noMangling.kt");
@@ -4554,6 +4554,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/PropertyInConstructorExplicitVisibility.kt");
}
@TestMetadata("PublishedApi.kt")
public void testPublishedApi() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/PublishedApi.kt");
}
@TestMetadata("TopLevelVarWithPrivateSetter.kt")
public void testTopLevelVarWithPrivateSetter() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/TopLevelVarWithPrivateSetter.kt");
@@ -2866,6 +2866,11 @@ public class LoadKotlinWithTypeTableTestGenerated extends AbstractLoadKotlinWith
runTest("compiler/testData/loadJava/compiledKotlin/visibility/PropertyInConstructorExplicitVisibility.kt");
}
@TestMetadata("PublishedApi.kt")
public void testPublishedApi() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/PublishedApi.kt");
}
@TestMetadata("TopLevelVarWithPrivateSetter.kt")
public void testTopLevelVarWithPrivateSetter() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/TopLevelVarWithPrivateSetter.kt");
@@ -4555,6 +4555,11 @@ public class IrLoadJavaTestGenerated extends AbstractIrLoadJavaTest {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/PropertyInConstructorExplicitVisibility.kt");
}
@TestMetadata("PublishedApi.kt")
public void testPublishedApi() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/PublishedApi.kt");
}
@TestMetadata("TopLevelVarWithPrivateSetter.kt")
public void testTopLevelVarWithPrivateSetter() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/TopLevelVarWithPrivateSetter.kt");
@@ -4554,6 +4554,11 @@ public class LoadJavaUsingJavacTestGenerated extends AbstractLoadJavaUsingJavacT
runTest("compiler/testData/loadJava/compiledKotlin/visibility/PropertyInConstructorExplicitVisibility.kt");
}
@TestMetadata("PublishedApi.kt")
public void testPublishedApi() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/PublishedApi.kt");
}
@TestMetadata("TopLevelVarWithPrivateSetter.kt")
public void testTopLevelVarWithPrivateSetter() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/visibility/TopLevelVarWithPrivateSetter.kt");