Closed Bug 790254 Opened 13 years ago Closed 10 years ago

reflect.parse tryStatement has "handler", not handlers

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: glind, Unassigned)

References

Details

(Whiteboard: [js:p3])

https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API suggests "TryStatement" should 'handlers', but it's 'handler', and singular. (Escodegen and others expect handlers)
Whiteboard: [js:p3]
Assignee: general → nobody
Apparently the page has been updated, "handler" (singular) is correct. ESTree [1] also specifies "handler", therefore resolving as Won't Fix. [1] https://github.com/estree/estree/blob/master/spec.md#trystatement
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.