Generate private constructor for object

#KT-9510 Fixed
This commit is contained in:
Michael Bogdanov
2015-10-08 16:53:01 +03:00
parent a3e0205aec
commit 8198ac77cb
9 changed files with 24 additions and 9 deletions
@@ -6415,6 +6415,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("captured.kt")
public void testCaptured() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/privateConstructors/captured.kt");
doTest(fileName);
}
@TestMetadata("companion.kt")
public void testCompanion() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/privateConstructors/companion.kt");