java completion: no case enumConstant suggestions where inapplicable (IDEA-168749)

This commit is contained in:
peter
2017-02-27 14:53:56 +01:00
parent dfa6ae7f6f
commit 2dcd8d24ba
3 changed files with 23 additions and 1 deletions
@@ -0,0 +1,13 @@
class A extends Base{
void foo(B b){
switch(b) {
case FOO:
b.<caret>
}
}
}
enum B{
FOO, BAR, GOO
}