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
8 lines
131 B
Java
8 lines
131 B
Java
// "Remove variable 'i'" "true"
|
|
public class Main {
|
|
int test(String s) {
|
|
return switch(s) {
|
|
default -> 1;
|
|
}
|
|
}
|
|
} |