Closed
Bug 381372
Opened 19 years ago
Closed 19 years ago
Missing parens around genexp in "with"
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.9alpha5
People
(Reporter: jruderman, Assigned: brendan)
References
Details
(Keywords: testcase)
Attachments
(1 file, 1 obsolete file)
|
8.84 KB,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
js> (function () { with (3 || (1 for (x in []))) {} })
function () {
with (3 || 1 for (x in [])) {
}
}
| Assignee | ||
Comment 1•19 years ago
|
||
Same for &&, and for other JOF_PARENHEAD-flagged ops than JSOP_ENTERWITH (the ones for switch, if, while, etc.).
Patch next.
/be
OS: Mac OS X → All
Hardware: PC → All
| Assignee | ||
Comment 2•19 years ago
|
||
| Assignee | ||
Updated•19 years ago
|
Priority: -- → P1
Target Milestone: --- → mozilla1.9alpha5
Updated•19 years ago
|
Attachment #265669 -
Flags: review?(mrbkap) → review+
| Assignee | ||
Comment 3•19 years ago
|
||
Attachment #265669 -
Attachment is obsolete: true
Attachment #265768 -
Flags: review+
| Assignee | ||
Comment 4•19 years ago
|
||
Checking in jsopcode.c;
/cvsroot/mozilla/js/src/jsopcode.c,v <-- jsopcode.c
new revision: 3.243; previous revision: 3.242
done
/be
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 5•19 years ago
|
||
/cvsroot/mozilla/js/tests/js1_8/decompilation/regress-381372.js,v <-- regress-381372.js
initial revision: 1.1
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•