mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
[java] simpler more consistent error message
GitOrigin-RevId: e9a4643b85dcf5d97085e56b7a455b2b8f87869a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
11d3e39fc0
commit
a98eb623e0
@@ -74,5 +74,5 @@ record Incomplete(@<error descr="Class reference expected">i</error>nt a) {}
|
||||
record CStyle(int a<error descr="C-style record component declaration is not allowed">[]</error>) {}
|
||||
record CStyle2(int[] a<error descr="C-style record component declaration is not allowed">[] []</error> ) {}
|
||||
record JavaStyle(int[] [] a) {}
|
||||
record SafeVarargComponent(<error descr="@SafeVarargs annotation cannot be applied for a record component">@SafeVarargs</error> int... component) {}
|
||||
record SafeVarargComponent(<error descr="@SafeVarargs is not allowed on a record component">@SafeVarargs</error> int... component) {}
|
||||
record ExtendsRecordExplicitly() <error descr="No extends clause allowed for record">extends java.lang.Record</error> {}
|
||||
Reference in New Issue
Block a user