When in debugger context, access private companion object directly

This commit is contained in:
Dmitry Petrov
2018-06-26 12:40:33 +03:00
parent bef3d4ace2
commit 46a3f7420c
9 changed files with 89 additions and 6 deletions
@@ -14039,6 +14039,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromAnonymousObjectInNestedClass.kt");
}
@TestMetadata("privateCompanionObjectAccessedFromInitBlock.kt")
public void testPrivateCompanionObjectAccessedFromInitBlock() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromInitBlock.kt");
}
@TestMetadata("privateCompanionObjectAccessedFromInitBlockOfNestedClass.kt")
public void testPrivateCompanionObjectAccessedFromInitBlockOfNestedClass() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromInitBlockOfNestedClass.kt");
}
@TestMetadata("privateCompanionObjectAccessedFromInlineLambdaInNestedClass.kt")
public void testPrivateCompanionObjectAccessedFromInlineLambdaInNestedClass() throws Exception {
runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromInlineLambdaInNestedClass.kt");