mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 21:20:54 +07:00
The switch statement postfix completion template used to be applied to either elements of the Object type or of a sealed class. This restriction was just a result of a mistake. This patch lifts this restriction and makes SwitchStatementPostfixTemplate truly DumbAware by resolving an expression's type with DumbModeAccessType bypassing the dumb mode if necessary. GitOrigin-RevId: c2f82834ff4e6842d6d825f9ff994c288196291b
6 lines
63 B
Java
6 lines
63 B
Java
|
|
class Main {
|
|
int g(CharSequence o) {
|
|
o.swit<caret>
|
|
}
|
|
} |