Closed Bug 1111111 Opened 10 years ago Closed 1 year ago

Rejigger ArrowFunction and CoverParenthesizedExpressionAndArrowParameterList parsing to not confusingly overlap so hard

Categories

(Core :: JavaScript Engine, enhancement, P5)

enhancement

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Waldo, Unassigned)

Details

Looking at bug 1101265, it's extremely hard to be sure what to pass where, for what purpose. This is doubly true if the argument there were made non-optional (as I very nearly suggested). If that were done, one method might have recursive calls passing down the provided argument *and* separate calls ignoring it entirely, with the logic for each determination quite unclear. This desperately needs cleanup and simplification, even if (as seems semi-likely) the current seek-backward-and-retry technique continues to be used.

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: jwalden → nobody
Severity: normal → S3
Severity: S3 → N/A
Status: NEW → RESOLVED
Type: defect → enhancement
Closed: 1 year ago
Priority: -- → P5
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.