implement methods in enum from super interface (IDEA-106310)

This commit is contained in:
anna
2013-04-29 20:26:56 +02:00
parent 5de5477453
commit 5e2184d2d4
6 changed files with 31 additions and 23 deletions
@@ -126,7 +126,7 @@ interface Barz {
}
enum Fooz implements Barz {
<error descr="Class 'Fooz' must either be declared abstract or implement abstract method 'baz()' in 'Barz'">FOO</error>;
<error descr="Class 'Fooz' must implement abstract method 'baz()' in 'Barz'">FOO</error>;
}
///////////////////////
@@ -0,0 +1,8 @@
// "Implement Methods" "true"
interface Card {
void play();
}
enum E implements Card {
A<caret>
}
@@ -0,0 +1,8 @@
// "Implement Methods" "true"
interface Card {
void play();
}
enum E implements Card {
A<caret>
}