mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 20:07:01 +07:00
1. Support Java 12 switch rules and switch expressions (IDEA-203692) 2. Support void expression lambdas 3. Fix PSI structure when expression list statement is reduced to single expression
9 lines
148 B
Java
9 lines
148 B
Java
// "Remove variable 'i'" "true"
|
|
public class Main {
|
|
void test(String s) {
|
|
int <caret>i;
|
|
switch(s) {
|
|
case "foo" -> i = 1;
|
|
}
|
|
}
|
|
} |