mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
isLocalClass should work for nested local classes (IDEA-156777)
This commit is contained in:
@@ -375,6 +375,10 @@ public class LightAdvHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTestFile(BASE_PATH + "/" + getTestName(false) + ".java").checkSymbolNames().test();
|
||||
}
|
||||
|
||||
public void testNestedLocalClasses() throws Exception {
|
||||
doTest(false, false);
|
||||
}
|
||||
|
||||
public void testInsane() throws IOException {
|
||||
configureFromFileText("x.java", "class X { \nx_x_x_x\n }");
|
||||
List<HighlightInfo> infos = highlightErrors();
|
||||
|
||||
Reference in New Issue
Block a user