Allow to import private members if they are in the same file

#KT-7724 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-04-04 03:45:27 +03:00
parent f518e8ebb8
commit 9fdd5fe5e8
14 changed files with 380 additions and 11 deletions
@@ -11651,6 +11651,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
doTest(fileName);
}
@TestMetadata("privateMembersInImportList.kt")
public void testPrivateMembersInImportList() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/package/privateMembersInImportList.kt");
doTest(fileName);
}
@TestMetadata("privateTopLevelPropAndVarInInner.kt")
public void testPrivateTopLevelPropAndVarInInner() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/package/privateTopLevelPropAndVarInInner.kt");