ensure left expression is processed before right in assignments (IDEA-140772)

This commit is contained in:
Anna Kozlova
2015-07-03 14:57:13 +03:00
parent ff8fd97028
commit 51404269ff
3 changed files with 19 additions and 5 deletions
@@ -0,0 +1,7 @@
class Test {
public static void main(String[] args) {
int i;
int[] iA = {10,20};
iA[<error descr="Variable 'i' might not have been initialized">i</error>] = i = 30;
}
}