Inline inner: assignments to local vars and params in constructor body fixed (IDEA-39285)

This commit is contained in:
anna
2010-02-01 17:13:32 +03:00
parent f86a7f7f87
commit 3e37ba3466
4 changed files with 45 additions and 11 deletions
@@ -0,0 +1,15 @@
class Usage {
private Object wc1 = new Object() {
private int myInt = 8;
private String myString = "Sashya";
{
int i = 2;
i = 3;
myInt = i + 17;
int j = 4;
j = 5;
myString = "Sa".substring(j);
}
};
}