mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 12:03:57 +07:00
GitOrigin-RevId: 21428eb3209594c00dc1d81c3d4cda3a7276e3fb
15 lines
291 B
Java
15 lines
291 B
Java
// "Remove unreachable branches" "true-preview"
|
|
class X {
|
|
int test(int a, int b) {
|
|
if (b != 0) return;
|
|
return switch(a) {
|
|
case 1 -> switch(b) {
|
|
case <caret>0 -> 2;
|
|
case 1 -> 3;
|
|
case 2 -> 4;
|
|
default -> 5;
|
|
}
|
|
default -> 6;
|
|
}
|
|
}
|
|
} |