Remove check in visibilities that allowed access to privates of outer packages

It doesn't work for a while now in imports and is planned to be dropped with upcoming changes to private
This commit is contained in:
Pavel V. Talanov
2015-05-13 17:15:57 +03:00
parent be66ee7015
commit 7585cbfe22
7 changed files with 51 additions and 17 deletions
@@ -379,6 +379,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("PrivateFromOuterPackage.kt")
public void testPrivateFromOuterPackage() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/PrivateFromOuterPackage.kt");
doTest(fileName);
}
@TestMetadata("ProcessingEmptyImport.kt")
public void testProcessingEmptyImport() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/ProcessingEmptyImport.kt");
@@ -77,12 +77,6 @@ public class BlackBoxMultiFileCodegenTestGenerated extends AbstractBlackBoxCodeg
doTestMultiFile(fileName);
}
@TestMetadata("nestedPackages")
public void testNestedPackages() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxMultiFile/nestedPackages/");
doTestMultiFile(fileName);
}
@TestMetadata("packageLocalClassNotImportedWithDefaultImport")
public void testPackageLocalClassNotImportedWithDefaultImport() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxMultiFile/packageLocalClassNotImportedWithDefaultImport/");