Commit Graph

4 Commits

Author SHA1 Message Date
Andrey Cherkasov
59d7b0c4c5 [java-highlighting] switch has both an unconditional pattern and a default label: false negative
IDEA-310722

GitOrigin-RevId: 1dfaeb0a35715757272dfaa4f10dc0e7ed628101
2023-01-17 18:02:27 +00:00
Andrey Cherkasov
12c6c8f2c5 [java] Highlight "Duplicate unconditional pattern" instead of "Label is dominated by a preceding case label"
IDEA-310687

GitOrigin-RevId: edc302b7042dd5cfc79903644dadcf3238bc97c2
2023-01-17 18:02:24 +00:00
Andrey Cherkasov
62ebc2616f IDEA-310575 A total pattern is now called an unconditional pattern
GitOrigin-RevId: 306b7b66d45e6f92bc2629db93241630156e5164
2023-01-15 05:39:37 +00:00
Andrey Cherkasov
b56985873a [java-highlighting] JEP 432: A 'case null, default' label dominates all other switch labels
A 'default' label dominates a case label with a case pattern, and it also dominates a case label with a 'null' case constant.

IDEA-309549

GitOrigin-RevId: 6877992c530e41a1200ea7c20d6405da4be0324b
2022-12-29 00:57:49 +00:00