IDEA-242390 - handled the case when an enum constant has an illegal forward reference on another enum constant with qualified expression

GitOrigin-RevId: a6d697566760afda683de5c77ae3f432f0eef912
This commit is contained in:
Ilyas Selimov
2020-07-08 17:04:26 +07:00
committed by intellij-monorepo-bot
parent caa8845fde
commit 655e6b952e
3 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
enum Enum242390 {
TYPE1(<error descr="Illegal forward reference">Enum242390.TYPE2</error>),
TYPE2(TYPE1);
private final Enum242390 next;
Enum242390(Enum242390 next) {
this.next = next;
}
}