mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 18:06:58 +07:00
Add the `default` keyword to the completions after `case`. GitOrigin-RevId: 8e1e05d230a43a11a47d9b55ab89548530ab68b2
21 lines
265 B
Java
21 lines
265 B
Java
|
|
class Main {
|
|
|
|
int f(Object o) {
|
|
return switch(o) {
|
|
case Integer i, def<caret>
|
|
}
|
|
}
|
|
|
|
int g(Object o) {
|
|
return switch(o) {
|
|
case def<caret>, Integer i
|
|
}
|
|
}
|
|
|
|
int h(Object o) {
|
|
return switch(o) {
|
|
case def<caret>
|
|
}
|
|
}
|
|
} |