mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
Records extend the Record class (IDEA-228460)
GitOrigin-RevId: f99f9cfbe07cec22bc34596366c97d62d024e4b2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
18c9b23282
commit
4bc45f31f0
@@ -123,6 +123,8 @@ class X extends <error descr="Classes cannot directly extend 'java.lang.Enum'">E
|
||||
public X(String name, int ordinal) {
|
||||
super(name, ordinal);
|
||||
}
|
||||
|
||||
Enum e = new <error descr="Classes cannot directly extend 'java.lang.Enum'">Enum</error>("", 0) {};
|
||||
}
|
||||
|
||||
enum StaticInEnumConstantInitializer {
|
||||
|
||||
Reference in New Issue
Block a user