mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-230688 Bad code green: "Modifier 'private' not allowed here" on local record declaration
GitOrigin-RevId: 564a4b764921031b05f9c0f8dd1c9f475deb5727
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1ba27623ea
commit
0093364d1a
+2
@@ -3,6 +3,8 @@ class Foo {
|
||||
record NoComponent() {}
|
||||
|
||||
static record DeclaredStatic() {}
|
||||
|
||||
<error descr="Modifier 'private' not allowed here">private</error> record Private() {}
|
||||
}
|
||||
|
||||
static int STATIC_VAR = 3;
|
||||
|
||||
Reference in New Issue
Block a user