mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
182 B
Java
10 lines
182 B
Java
// "Remove unreachable branches" "true-preview"
|
|
class X {
|
|
int test(int a, int b) {
|
|
if (b != 0) return;
|
|
return switch(a) {
|
|
case 1 -> 2;
|
|
default -> 6;
|
|
}
|
|
}
|
|
} |