mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
new inference for enum constants (IDEA-144973)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
import java.util.Comparator;
|
||||
import static java.util.Comparator.*;
|
||||
|
||||
enum TestEnum {
|
||||
E(naturalOrder());
|
||||
|
||||
TestEnum(Comparator<String> c) {}
|
||||
}
|
||||
Reference in New Issue
Block a user