New J2K: do not recalculate types for binary & unary expressions and rewrite assignment expressions conversion

#KT-33679 fixed
This commit is contained in:
Ilya Kirillov
2019-09-05 19:40:15 +03:00
parent c93d810685
commit dca0dc1933
45 changed files with 775 additions and 889 deletions
@@ -0,0 +1,19 @@
class Test {
public static void main(String[] args) {
int a = 0;
int b = 0;
int c = 0;
int d = 0;
int e = 0;
//-----
int f = a = b += c = d *= e;
//-----
int g = a;
//-----
int h = a = b;
//-----
int i = a += b;
//-----
int j = a += b = c;
}
}