Postfix templates: remove only expression statements on expanding

(IDEA-187042)
This commit is contained in:
Alexander Zolotov
2018-02-21 20:32:17 +03:00
parent f034b5cd8b
commit 985ea1e4ba
4 changed files with 25 additions and 5 deletions
@@ -0,0 +1,6 @@
public class Foo {
void m(boolean b) {
String s1 = "";
String s2 = s1.arg<caret>
}
}
@@ -0,0 +1,6 @@
public class Foo {
void m(boolean b) {
String s1 = "";
String s2 = functionCall(s1<caret>)
}
}