mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-14 12:46:09 +07:00
java: highlight enum constant name if empty arguments are not applicable to the constructor (IDEA-243927)
GitOrigin-RevId: 495516860c1d26dc090aa2f2ca4f8c2397fcb177
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fd1444f322
commit
6472c347db
@@ -217,3 +217,10 @@ class NestedEnums {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
enum EnumWithoutExpectedArguments {
|
||||
<error descr="'EnumWithoutExpectedArguments(int)' in 'EnumWithoutExpectedArguments' cannot be applied to '()'">ONE</error>, //comment
|
||||
<error descr="'EnumWithoutExpectedArguments(int)' in 'EnumWithoutExpectedArguments' cannot be applied to '()'">TWO</error>
|
||||
;
|
||||
EnumWithoutExpectedArguments(int a) {}
|
||||
}
|
||||
Reference in New Issue
Block a user