Import names from singleton but show CANNOT_IMPORT_ON_DEMAND_FROM_SINGLETON error

This commit is contained in:
Stanislav Erokhin
2015-09-04 21:17:28 +03:00
parent 5786e620e8
commit 286d39b866
6 changed files with 59 additions and 3 deletions
@@ -6537,6 +6537,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("ImportFromObject.kt")
public void testImportFromObject() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/imports/ImportFromObject.kt");
doTest(fileName);
}
@TestMetadata("ImportFromRootPackage.kt")
public void testImportFromRootPackage() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/imports/ImportFromRootPackage.kt");