Closed
Bug 352732
Opened 18 years ago
Closed 17 years ago
Decompiling "if (x) L: let x;" loses label and right-brace
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: assertion, testcase)
js> function() { if (x) L: let x; } function () { if (x) { let x; } Same thing, with "else": js> function() { if (x) L: let x; else y; } function () { if (x) { let x; else { y; } }
Reporter | ||
Comment 1•18 years ago
|
||
Same thing, with an intervening "if(1)": js> function() { if (w) L: if(1) let x; } function () { if (w) { let x; }
Reporter | ||
Comment 2•18 years ago
|
||
Now, instead of the incorrect decompilation, I get Assertion failure: jp->sprinter.base[offset+0] == ' ', at jsopcode.c:655
Reporter | ||
Comment 3•17 years ago
|
||
WFM on intel mac, no bogosity or assertion.
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Keywords: assertion
Resolution: --- → WORKSFORME
Comment 4•17 years ago
|
||
/cvsroot/mozilla/js/tests/js1_7/decompilation/regress-352732.js,v <-- regress-352732.js initial revision: 1.1
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•