mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
12 lines
262 B
Java
12 lines
262 B
Java
// "Remove unreachable branches" "true"
|
|
class Test {
|
|
void test(R r) {
|
|
switch (r) {
|
|
case R(int i, String s)<caret> when true:
|
|
System.out.println(s);
|
|
break;
|
|
}
|
|
}
|
|
|
|
record R(int i, String s) {}
|
|
} |