Closed Bug 736747 Opened 13 years ago Closed 11 years ago

Incorrect decompilation of object literal with yield

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
normal

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
Another broken case, with the same regression range: js> (function() { ({0: 0, 1: (2, 3) }); }) (function () {({0: 0, 1: });})
Blocks: es6:let
See Also: → es6:let
Is this bug still valid?
Comment 0 seems to point to a changeset from Waldo, so setting needinfo.
Flags: needinfo?(jwalden+bmo)
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.