mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
check enum synthetic method by erased signatures (IDEA-203732)
This commit is contained in:
@@ -38,6 +38,12 @@ enum Operation {
|
||||
<error descr="'valueOf(String)' is already defined in 'Operation'">void valueOf(String s)</error> {}
|
||||
}
|
||||
|
||||
enum enumWithTypeParameterInValueOf {
|
||||
;
|
||||
|
||||
<error descr="'valueOf(String)' is already defined in 'enumWithTypeParameterInValueOf'">static <T> void valueOf(String s)</error> {}
|
||||
}
|
||||
|
||||
<error descr="There is no default constructor available in 'Operation'">class exte extends <error descr="Cannot inherit from enum 'Operation'">Operation</error></error> {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user