Fix conversion of assignment as expression in J2K

Blockless if's and so with assignment as expression inside
should turn into blockful
 #KT-16816 fixed
This commit is contained in:
Simon Ogorodnik
2017-03-31 14:16:10 +03:00
parent 86137e1f65
commit 57c1d8eda4
13 changed files with 136 additions and 5 deletions
@@ -0,0 +1,8 @@
public class SomeClass {
int a;
int b;
void doSomeWhile(int i) {
while (i < 0)
a = b = i;
}
}