JS: fix translation of reassignment of inline properties. See KT-15590

This commit is contained in:
Alexey Andreev
2017-01-10 16:15:54 +03:00
parent 4eed7c1fcb
commit 7d170c0fcd
11 changed files with 160 additions and 88 deletions
@@ -0,0 +1,12 @@
var global = "";
function log(x) {
global += x + ";"
}
function box() {
var $x = log(1);
var result = (log(2), log(3));
if (global != "1;2;3;") return "fail: " + global;
return "OK";
}