Closed
Bug 632026
Opened 15 years ago
Closed 14 years ago
Reflect.parse: `typeof(0?0:a)` and `typeof a` parse the same, but are different programs
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jorendorff, Unassigned)
References
Details
(Whiteboard: reflect-parse fixed-in-tracemonkey)
js> typeof(0?0:a)
ReferenceError: a is not defined
js> typeof a
"undefined"
js> Reflect.parse("typeof(0?0:a)", {loc:0}).toSource() === Reflect.parse("typeof a", {loc:0}).toSource()
true
Updated•15 years ago
|
Whiteboard: reflect-parse
Comment 1•15 years ago
|
||
I believe this bug should just go away with the patch for bug 571617.
Dave
Comment 2•14 years ago
|
||
Fixed automatically by fix for bug 571617. Landed a test:
http://hg.mozilla.org/tracemonkey/rev/2c1422971722
Dave
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → WORKSFORME
Comment 3•14 years ago
|
||
cdleary-bot mozilla-central merge info:
http://hg.mozilla.org/mozilla-central/rev/2c1422971722
Note: not marking as fixed because fixed-in-tracemonkey is not present on the whiteboard.
Updated•14 years ago
|
Resolution: WORKSFORME → FIXED
Whiteboard: reflect-parse → reflect-parse fixed-in-tracemonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•