Closed
Bug 475985
Opened 16 years ago
Closed 13 years ago
Incorrect decompilation: missing second loop of array comprehension in this weird case
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
js> var f = (function(a) { return [1 for (x in a) for (y in (3).s)].length; })
js> print(f([4]));
0
js> print(f);
function (a) {
return [1 for (x in a)].length;
}
js> var g = eval(uneval(f));
js> print(g([4]));
1
Comment 1•13 years ago
|
||
Fixed by saving the source.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•