mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
don't warn about final enum when it is not (IDEA-181211)
This commit is contained in:
@@ -41,6 +41,12 @@ enum Operation {
|
||||
<error descr="There is no default constructor available in 'Operation'">class exte extends <error descr="Cannot inherit from final 'Operation'">Operation</error></error> {
|
||||
}
|
||||
|
||||
enum withConstant {
|
||||
A() {};
|
||||
}
|
||||
|
||||
class extwithConstant extends <error descr="Cannot inherit from enum 'withConstant'">withConstant</error> {}
|
||||
|
||||
class use {
|
||||
void f(Operation op) {
|
||||
switch(op) {
|
||||
|
||||
Reference in New Issue
Block a user