Files
Andrey.Cherkasov 600967c68e [java-highlighting] Provide Split values of 'switch' branch quick-fix for "Illegal fall-through from/to a pattern" error
IDEA-273885

GitOrigin-RevId: 49ea03660bc8079eb93b76c2ace9264ae1c2cc7a
2022-09-01 09:52:26 +00:00

9 lines
188 B
Java

// "Split values of 'switch' branch" "true-preview"
class C {
void foo(String o) {
switch (o) {
case "42", String s when<caret> s.isEmpty() -> {}
}
}
}