mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
local classes visibility scope (IDEA-67798)
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ public class PsiDeclarationStatementImpl extends CompositePsiElement implements
|
||||
final ElementClassHint hint = processor.getHint(ElementClassHint.KEY);
|
||||
if (lastParent instanceof PsiClass) {
|
||||
if (hint == null || hint.shouldProcess(ElementClassHint.DeclarationKind.CLASS)) {
|
||||
processor.execute(lastParent, state);
|
||||
if (!processor.execute(lastParent, state)) return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class A<T> {
|
||||
{
|
||||
class T extends A<T> {}
|
||||
}
|
||||
class T extends A<T> {}
|
||||
}
|
||||
@@ -210,6 +210,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testIDEA104992(){ doTest5(false); }
|
||||
public void testIDEA57446(){ doTest5(false); }
|
||||
public void testIDEA67677(){ doTest5(false); }
|
||||
public void testIDEA67798(){ doTest5(false); }
|
||||
|
||||
public void testWildcardsOnRawTypes() { doTest5(false); }
|
||||
public void testDisableWithinBoundsCheckForSuperWildcards() {
|
||||
|
||||
Reference in New Issue
Block a user