inline variable: if def in assignment expr replace with def if not stmt

otherwise containing expression would miss a part (IDEA-152813)
This commit is contained in:
Anna Kozlova
2018-01-03 14:18:51 +01:00
parent b98a9ccc6b
commit 28ec1b1e80
4 changed files with 32 additions and 4 deletions
@@ -0,0 +1,8 @@
class Test {
{
int i, j;
i = j = 0;
System.out.println(<caret>j);
}
}