Fix handling of property accessors in loop condition expressions and in argument of with statement.

Related issue: #798

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2016-01-02 19:52:26 +03:00
parent 50d124bfc3
commit f932b7d48c
3 changed files with 59 additions and 1 deletions
+6
View File
@@ -76,3 +76,9 @@ var i = {x: 0};
}
assert (s === '01');
// 7.
a = [];
for (; a[0]; ) {
assert (false);
}