Closed
Bug 353120
Opened 18 years ago
Closed 18 years ago
Decompilation of (new x)[y]++ does not compile
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
js> f = function() { return (new x)[y]++ }
function () {
return new x[y]++;
}
js> eval("" + f)
typein:3: SyntaxError: invalid increment operand: [...]
Reporter | ||
Comment 1•18 years ago
|
||
Fixed by "prep patch for plan A, v9a" in bug 346642.
Depends on: desdec
Reporter | ||
Comment 2•18 years ago
|
||
Fixed on trunk because "prep patch for plan A, v9d" in bug 346642 was checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 3•18 years ago
|
||
Checking in regress-353120.js;
/cvsroot/mozilla/js/tests/js1_5/Regress/regress-353120.js,v <-- regress-353120.js
initial revision: 1.1
done
Flags: in-testsuite+
Comment 4•18 years ago
|
||
I am not sure if the test is adequate since it also passes in 1.8 all platforms both opt and debug. Was this a trunk only regression?
verified fixed 1.9 20060919 windows/mac*/linux.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•