mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 07:50:55 +07:00
9 lines
202 B
Java
9 lines
202 B
Java
// "Unwrap 'switch'" "true-preview"
|
|
class X {
|
|
void test(int i) {
|
|
int x;
|
|
<caret>switch ("1" + (x= ((--i/*text*/) + "1" + (++i) + "1"))) {
|
|
default -> System.out.println("1");
|
|
};
|
|
}
|
|
} |