Fix ExpectedTypesProvider for completion inside switch expressions (IDEA-204680)

Review ID: IDEA-CR-41558
This commit is contained in:
Tagir Valeev
2018-12-25 12:50:07 +07:00
parent 3f224f0fcd
commit 36fee2ff50
6 changed files with 48 additions and 0 deletions
@@ -0,0 +1,11 @@
public class ConstConfig {
int test(boolean aaaaaaaa) {
Boolean b;
if ((b = switch (0) {
case 1: {
break aaaaaaaa<caret>;
}
default: break false;
}));
}
}