[JVM IR] Make file classes with all private members package-private

This commit is contained in:
Iaroslav Postovalov
2020-12-26 21:42:46 +07:00
committed by Alexander Udalov
parent 032c64669c
commit 77180a5b13
8 changed files with 117 additions and 11 deletions
@@ -90,6 +90,16 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
runTest("compiler/testData/codegen/bytecodeListing/extension.kt");
}
@TestMetadata("fileClassWithPrivateDeclarationsOnly_after.kt")
public void testFileClassWithPrivateDeclarationsOnly_after() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/fileClassWithPrivateDeclarationsOnly_after.kt");
}
@TestMetadata("fileClassWithPrivateDeclarationsOnly_before.kt")
public void testFileClassWithPrivateDeclarationsOnly_before() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/fileClassWithPrivateDeclarationsOnly_before.kt");
}
@TestMetadata("immutableCollection.kt")
public void testImmutableCollection() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/immutableCollection.kt");
@@ -90,6 +90,16 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
runTest("compiler/testData/codegen/bytecodeListing/extension.kt");
}
@TestMetadata("fileClassWithPrivateDeclarationsOnly_after.kt")
public void testFileClassWithPrivateDeclarationsOnly_after() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/fileClassWithPrivateDeclarationsOnly_after.kt");
}
@TestMetadata("fileClassWithPrivateDeclarationsOnly_before.kt")
public void testFileClassWithPrivateDeclarationsOnly_before() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/fileClassWithPrivateDeclarationsOnly_before.kt");
}
@TestMetadata("immutableCollection.kt")
public void testImmutableCollection() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/immutableCollection.kt");