introduce variable from yet standalone switch expression (IDEA-206523)

This commit is contained in:
Anna.Kozlova
2019-02-04 10:59:17 +01:00
parent 1fd8513825
commit 4a114d92f6
4 changed files with 29 additions and 1 deletions
@@ -0,0 +1,8 @@
class MyTest {
{
String temp = switch (0) {
default:
break "";
};
}
}
@@ -0,0 +1,7 @@
class MyTest {
{
<selection>switch (0) {
default: break "";
}</selection>
}
}