switch expressions: highlight break values (IDEA-204569)

This commit is contained in:
Anna.Kozlova
2018-12-20 16:22:46 +01:00
parent 413d6003d3
commit e9c6f0001f
3 changed files with 39 additions and 18 deletions
@@ -0,0 +1,10 @@
class Main {
public static void main(String[] args) {
String s = switch (args.length) {
case 1:
br<caret>eak "abc";
default:
break "";
};
}
}