introduce variable: normalize declaration when necessary (IDEA-94494)

This commit is contained in:
anna
2012-11-08 20:58:56 +01:00
parent 31938a9e78
commit 7da45fd74f
4 changed files with 49 additions and 2 deletions
@@ -0,0 +1,8 @@
class X {
{
int i = 0;
int i3 = i;
int i1 = 0;
int i2 = i3;
}
}
@@ -0,0 +1,5 @@
class X {
{
int i = 0, i1 = 0, i2 = <selection>i</selection>;
}
}