mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
9 lines
251 B
Java
9 lines
251 B
Java
// "Move switch branch 'String _' before 'CharSequence _'" "false"
|
|
class Main {
|
|
public static void main2(Object o) {
|
|
int x = switch (o) {
|
|
case CharSequence _, String<caret> _ ->2;
|
|
case Integer _, Object _ when 2==2 -> 2;
|
|
};
|
|
}
|
|
} |