mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-05 06:01:30 +07:00
isLocalClass should work for nested local classes (IDEA-156777)
This commit is contained in:
@@ -93,12 +93,12 @@ public class a {
|
||||
}
|
||||
void ff() {
|
||||
class inn {
|
||||
<error descr="Inner classes cannot have static declarations">interface i</error> {}
|
||||
<error descr="Interface not allowed here">interface i</error> {}
|
||||
}
|
||||
}
|
||||
|
||||
Object o = new Runnable() {
|
||||
<error descr="Inner classes cannot have static declarations">interface i</error> {}
|
||||
<error descr="Interface not allowed here">interface i</error> {}
|
||||
public void run() {}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user