Closed Bug 1610447 Opened 5 years ago Closed 5 years ago

Update Reflect to handle Optional Chaining operator

Categories

(Core :: JavaScript Engine, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: nchevobbe, Assigned: yulia)

References

Details

Attachments

(1 file)

Steps to reproduce

  1. Evaluate Reflect.parse("document?.location")

Expected results

I get a proper AST for this, now that the optional chaining operator support was added

Actual results

This throws with InternalError: bad parse node

Flags: needinfo?(ystartsev)
Blocks: 1594009
Assignee: nobody → ystartsev
Status: NEW → ASSIGNED
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6d249e6e6403
Update Reflect.parse for OptionalChain; r=arai
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Flags: needinfo?(ystartsev)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: