Export assignment expression must not track variables (#4660)
Only export the result of the assignment expression. This value cannot be changed later. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -26,5 +26,6 @@ assert(o.b === undefined);
|
||||
assert(o.c(val) === "c")
|
||||
assert(o.d === "d")
|
||||
|
||||
assert(o.default === val)
|
||||
assert(def === val)
|
||||
assert(o.a === val);
|
||||
assert(o.default === 8.5)
|
||||
assert(def === 8.5)
|
||||
|
||||
Reference in New Issue
Block a user