Closed
Bug 350704
Opened 18 years ago
Closed 18 years ago
Some "let" expressions in "for" initial-expression still become "let" statements above the "for"
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.8.1
People
(Reporter: jruderman, Assigned: brendan)
References
Details
(Keywords: testcase, verified1.8.1)
Attachments
(1 file)
2.13 KB,
patch
|
mrbkap
:
review+
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
> function() { try{} catch(y) { for(z(let(y=3)4); ; ) ; } } function () { try { } catch (y) { let y = 3; for (z(4);;) { } } } Attempting to recompile the result gives "redeclaration of variable y". This is similar to bug 349605 and bug 348904.
Assignee | ||
Comment 1•18 years ago
|
||
Due to incomplete fix for bug 349605. Patch next. /be
OS: Mac OS X 10.4 → All
Hardware: Macintosh → All
Assignee | ||
Comment 2•18 years ago
|
||
Assignee | ||
Updated•18 years ago
|
Updated•18 years ago
|
Attachment #236114 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 3•18 years ago
|
||
Fixed on trunk. Checking in jsemit.c; /cvsroot/mozilla/js/src/jsemit.c,v <-- jsemit.c new revision: 3.191; previous revision: 3.190 done /be
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 236114 [details] [diff] [review] fix Another safe decompiler fix, really yet another forgotten case from bug 349605. /be
Attachment #236114 -
Flags: approval1.8.1?
Comment 5•18 years ago
|
||
Checking in regress-350704.js; /cvsroot/mozilla/js/tests/js1_7/block/regress-350704.js,v <-- regress-350704.js initial revision: 1.1
Flags: in-testsuite+
Comment 6•18 years ago
|
||
verified fixed 1.9 20060831 windows/mac*/linux I screwed up the test from this morning: Checking in regress-350704.js; /cvsroot/mozilla/js/tests/js1_7/block/regress-350704.js,v <-- regress-350704.js new revision: 1.2; previous revision: 1.1 done
Status: RESOLVED → VERIFIED
Comment 7•18 years ago
|
||
Comment on attachment 236114 [details] [diff] [review] fix a=beltzner on behalf of 181drivers
Attachment #236114 -
Flags: approval1.8.1? → approval1.8.1+
Comment 9•18 years ago
|
||
verified fixed 1.9 20060901 windows/mac*/linux
Keywords: fixed1.8.1 → verified1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•