mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 02:24:00 +07:00
GitOrigin-RevId: 6b2f8926573791d7ed0ae44f3269803ca3ca18ea
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;
|
|
};
|
|
}
|
|
} |