Closed Bug 764508 Opened 13 years ago Closed 13 years ago

"Assertion failure: !p.value().isHeader()" with redundant default params, "let"

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: jruderman, Assigned: Benjamin)

References

Details

(Keywords: assertion, testcase, Whiteboard: [js:t])

Attachments

(1 file)

function f(x = let (x) 1, x = 4) { } Assertion failure: !p.value().isHeader(), at js/src/frontend/ParseMaps-inl.h:85 The first bad revision is: changeset: 699a613bf616 user: Benjamin Peterson date: Sat May 26 09:33:53 2012 -0400 summary: Bug 757676 - Implement JS default parameters. r=jorendorff
Attached patch fixSplinter Review
Assignee: general → bpeterson
Attachment #632889 - Flags: review?(jorendorff)
Whiteboard: [js:t]
Comment on attachment 632889 [details] [diff] [review] fix Nice fix; totally gross bug. Wish I had time to clean this code up. It could be better.
Attachment #632889 - Flags: review?(jorendorff) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: