Closed
Bug 630213
Opened 15 years ago
Closed 15 years ago
ASTSerializer::leftAssociate right-associates
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jorendorff, Assigned: jorendorff)
References
Details
(Whiteboard: [fixed-in-tracemonkey])
Attachments
(1 file)
|
5.36 KB,
patch
|
dherman
:
review+
|
Details | Diff | Splinter Review |
I was playing with my minimizer this weekend and came across this.
Reflect.parse("a-b-c") produces a tree for "a-(b-c)".
js> uneval(Reflect.parse("a-b-c",{loc:0})) ===
uneval(Reflect.parse("a-(b-c)",{loc:0}))
true
But they're two different programs.
js> var a=3, b=2, c=1;
js> a-b-c
0
js> a-(b-c)
2
| Assignee | ||
Comment 1•15 years ago
|
||
Assignee: general → jorendorff
Attachment #508422 -
Flags: review?(dherman)
Comment 2•15 years ago
|
||
Oy, this one's embarrassing. Patch is good, thanks. r=me
Dave
Updated•15 years ago
|
Attachment #508422 -
Flags: review?(dherman) → review+
| Assignee | ||
Comment 3•15 years ago
|
||
Whiteboard: [fixed-in-tracemonkey]
Comment 4•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•