Closed
Bug 975484
Opened 10 years ago
Closed 10 years ago
Location information is inaccurate for CallExpressions
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(1 file)
1.74 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
The end position always leaves off at least the closing right parenthesis, and if there are no arguments, the left parenthesis as well. js> Reflect.parse("f ( )").body[0].expression.loc ({start:{line:1, column:0}, end:{line:1, column:1}, source:null}) The end position here should be column 11, I think, since this is meant to be a half-open range.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: general → jorendorff
Attachment #8379865 -
Flags: review?(luke)
Updated•10 years ago
|
Attachment #8379865 -
Flags: review?(luke) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7a2bb8e2f3cb
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7a2bb8e2f3cb
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•