Closed
Bug 373672
Opened 17 years ago
Closed 15 years ago
Round-trip change because constant folding doesn't see into parens
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 461269
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
js> f = function() { return 2 + (3); } function () { return 2 + 3; } js> eval("" + f) function () { return 5; }
Reporter | ||
Comment 1•15 years ago
|
||
Most of jsfunfuzz's "mismatch" complaints are due to incomplete constant folding. Unlike most of the other known bugs, it's hard for jsfunfuzz to ignore this kind of thing without accidentally ignoring many other things, because the syntax involved is so simple and generic. How hard is it to fix this?
Comment 2•15 years ago
|
||
Could dup this, but I left it dep. Someone please grab bug 461269. /be
Depends on: 461269
Comment 3•15 years ago
|
||
In current tracemonkey tip: js> f = function() { return 2 + (3); } function () { return 5; }
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•