Closed Bug 355667 Opened 18 years ago Closed 13 years ago

Extra "let" keyword in decompilation of "let" declaration with destructuring

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 692274

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

js> function() { let x, [p] = y; } function () { let x, let [p] = y; }
Same thing happens with "var" in place of "let".
Related to bug 355786?
Still happens, though the lets in comment #0 are now changed to vars. js> print(function() { let x, [p] = y; }) function () { var x, var [p] = y; }
OS: Mac OS X → All
Hardware: PowerPC → All
Fixed by recent let un-hackage.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.