mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-230559 'final' modifier is not allowed on record component
GitOrigin-RevId: 5f06b57f53fda76465a53f67440cc14a99be86db
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1893964afa
commit
f708d8febb
+1
-1
@@ -23,7 +23,7 @@ record <error descr="Class 'UnrelatedDefaults' must implement abstract method 'r
|
||||
record ComponentModifiers(
|
||||
<error descr="Modifier 'public' not allowed here">public</error> int x,
|
||||
<error descr="Modifier 'static' not allowed here">static</error> int y,
|
||||
final int z) {}
|
||||
<error descr="Modifier 'final' not allowed here">final</error> int z) {}
|
||||
record ComponentDuplicateName(int <error descr="Variable 'x' is already defined in the scope">x</error>, int <error descr="Variable 'x' is already defined in the scope">x</error>) {}
|
||||
record VarArgOk(int... x) {}
|
||||
record VarArgOk2(int x, int... y) {}
|
||||
|
||||
Reference in New Issue
Block a user