mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 20:20:56 +07:00
The resolver used to fail when a case label element is parenthesized. The patch fixes this problem by stripping parens from a case element if necessary GitOrigin-RevId: de2113905ccabcc7c675c94c320cb2b26fccf487
11 lines
161 B
Java
11 lines
161 B
Java
class Main {
|
|
final int i = 2;
|
|
|
|
void f(Object obj) {
|
|
switch (obj) {
|
|
case Integer i, ((i<caret>)):
|
|
System.out.println(i);
|
|
}
|
|
}
|
|
}
|
|
} |