highlight enum with abstract methods until enum initializer is added

IDEA-184704
This commit is contained in:
Anna.Kozlova
2018-01-11 19:31:43 +01:00
parent 796d03edf9
commit d74021cd16
9 changed files with 24 additions and 18 deletions
@@ -130,8 +130,8 @@ interface Barz {
void baz();
}
enum Fooz implements Barz {
<error descr="Class 'Fooz' must implement abstract method 'baz()' in 'Barz'">FOO</error>;
<error descr="Class 'Fooz' must either be declared abstract or implement abstract method 'baz()' in 'Barz'">enum Fooz implements Barz</error> {
FOO;
}
///////////////////////