Closed
Bug 736747
Opened 13 years ago
Closed 11 years ago
Incorrect decompilation of object literal with yield
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: regression, testcase)
js> (function() { var w = {0: 0, 1: yield 1 }; })
(function () {var w = {0: 0, 1: };})
Where did the value for the '1' property go?
The first bad revision is:
changeset: 4ba18c8c2e6e
user: Jeff Walden
date: Tue Dec 27 16:40:21 2011 -0600
summary: Bug 713183 - Don't generate JSOP_INITPROP for index properties of object literals. r=bhackett
Reporter | ||
Comment 1•13 years ago
|
||
Another broken case, with the same regression range:
js> (function() { ({0: 0, 1: (2, 3) }); })
(function () {({0: 0, 1: });})
Updated•11 years ago
|
Comment 2•11 years ago
|
||
Is this bug still valid?
![]() |
||
Comment 3•11 years ago
|
||
Comment 0 seems to point to a changeset from Waldo, so setting needinfo.
Flags: needinfo?(jwalden+bmo)
Comment 4•11 years ago
|
||
Neither testcase is wrong for me now. Benjamin almost certainly fixed this by killing the decompiler. Very simplification. Such win. Wow.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(jwalden+bmo) → in-testsuite-
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•