mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
enum, abstract and final should be an error somewhere (IDEA-186642)
This commit is contained in:
+6
-1
@@ -1,4 +1,9 @@
|
||||
<error descr="Enum declaration without enum constants cannot have abstract methods">enum MyEnumTest</error> {
|
||||
<error descr="Class 'MyEnumTest' must either be declared abstract or implement abstract method 'm()' in 'MyEnumTest'">enum MyEnumTest</error> {
|
||||
;
|
||||
public abstract void m();
|
||||
}
|
||||
|
||||
<error descr="Class 'WithoutConstantInitializer' must either be declared abstract or implement abstract method 'm()' in 'WithoutConstantInitializer'">enum WithoutConstantInitializer</error> {
|
||||
FIRST;
|
||||
public abstract void m();
|
||||
}
|
||||
Reference in New Issue
Block a user