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,7 @@
public class SomeClass {
void doSomeFor() {
int a,b;
for (int i = 0; i < 10; i++)
a = b = i;
}
}