mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
There used to be a vague error message for enum constants that don't implement methods from an interface which refers to them as 'Anonymous class deriving from *Enum'. This patch makes the message clear displaying the real names of the enum constants in the error message. Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com> GitOrigin-RevId: 700bc2b579e0c8552858ab881d9a3e4e8d81b1f8
8 lines
148 B
Java
8 lines
148 B
Java
|
|
interface A {
|
|
void m();
|
|
}
|
|
|
|
enum E implements A {
|
|
<error descr="Enum constant 'F' must implement abstract method 'm()' in 'A'">F</error>() {};
|
|
} |