Closed
Bug 352985
Opened 18 years ago
Closed 12 years ago
Round-trip change with assign-to-const in "if" condition
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
> function() { if (x=true) { h; } const x; }
function () {
if (true) {
h;
}
const x;
}
The "if (true)" is of course eliminated if I pass it through the compiler and decompiler again.
Updated•13 years ago
|
OS: Mac OS X → All
Hardware: PowerPC → All
Comment 1•12 years ago
|
||
Fixed by saving source.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•