mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
enum constants should be checked to implement enum interfaces
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
|
||||
interface A {
|
||||
void m();
|
||||
}
|
||||
|
||||
enum E implements A {
|
||||
<error descr="Class 'Anonymous class derived from E' must implement abstract method 'm()' in 'A'">F</error>() {};
|
||||
}
|
||||
Reference in New Issue
Block a user