Postpone companion object field visibility

Have to reconsider this issue because of interface companion objects.
This commit is contained in:
Dmitry Petrov
2018-09-25 17:47:54 +03:00
parent 792ff3c39e
commit 0dd04c3424
15 changed files with 241 additions and 3 deletions
@@ -15123,11 +15123,31 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27117.kt");
}
@TestMetadata("kt27117_lv12.kt")
public void testKt27117_lv12() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv12.kt");
}
@TestMetadata("kt27117_lv13.kt")
public void testKt27117_lv13() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv13.kt");
}
@TestMetadata("kt27121.kt")
public void testKt27121() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27121.kt");
}
@TestMetadata("kt27121_lv12.kt")
public void testKt27121_lv12() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27121_lv12.kt");
}
@TestMetadata("kt27121_lv13.kt")
public void testKt27121_lv13() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27121_lv13.kt");
}
@TestMetadata("privateCompanionObjectAccessedFromAnonymousObjectInNestedClass.kt")
public void testPrivateCompanionObjectAccessedFromAnonymousObjectInNestedClass() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromAnonymousObjectInNestedClass.kt");