mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
[java-highlighting] IDEA-246970 Local annotations should not be allowed in Java15-preview
GitOrigin-RevId: 1a1de1372304095197fdecf0c7b10bd8e9780442
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5aeac35507
commit
4242b62d14
@@ -8,6 +8,10 @@ class X {
|
||||
Foo foo = () -> {};
|
||||
}
|
||||
|
||||
void annotation() {
|
||||
@<error descr="Local annotations are not allowed">interface</error> Anno {}
|
||||
}
|
||||
|
||||
void modifiers() {
|
||||
<error descr="Modifier 'static' not allowed here">static</error> interface Intf1 {}
|
||||
<error descr="Modifier 'private' not allowed here">private</error> interface Intf2 {}
|
||||
|
||||
Reference in New Issue
Block a user