Closed
Bug 354878
Opened 18 years ago
Closed 18 years ago
Decompiling loses "if(0) { LABEL: const x; }"
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Assigned: brendan)
References
Details
(Keywords: testcase, verified1.8.1.1)
js> f = function () { if(0) { L: const x; } return x; }
function () {
return x;
}
js> f()
js> eval("" + f)()
typein:4: ReferenceError: x is not defined
Reporter | ||
Comment 1•18 years ago
|
||
Fixed by the "destructuring decompilation, v5d" patch in bug 346642.
Depends on: desdec
Reporter | ||
Updated•18 years ago
|
Assignee: general → brendan
Reporter | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 2•18 years ago
|
||
Checking in regress-354878.js;
/cvsroot/mozilla/js/tests/js1_5/Regress/regress-354878.js,v <-- regress-354878.js
initial revision: 1.1
done
Flags: in-testsuite+
Comment 3•18 years ago
|
||
verified fixed 1.9 20061002 windows/linux, verified not a problem on 1.8
Status: RESOLVED → VERIFIED
Comment 4•18 years ago
|
||
fixed by Bug 346642
verified fixed 20061203 1.8.1.1 windows/linux/mac*
Keywords: verified1.8.1.1
You need to log in
before you can comment on or make changes to this bug.
Description
•