Closed Bug 381372 Opened 19 years ago Closed 19 years ago

Missing parens around genexp in "with"

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9alpha5

People

(Reporter: jruderman, Assigned: brendan)

References

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

js> (function () { with (3 || (1 for (x in []))) {} }) function () { with (3 || 1 for (x in [])) { } }
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
Attached patch fix (obsolete) — — Splinter Review
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #265669 - Flags: review?(mrbkap)
Priority: -- → P1
Target Milestone: --- → mozilla1.9alpha5
Blocks: js1.8
Attachment #265669 - Flags: review?(mrbkap) → review+
Attached patch what i'm landing — — Splinter Review
Attachment #265669 - Attachment is obsolete: true
Attachment #265768 - Flags: review+
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
/cvsroot/mozilla/js/tests/js1_8/decompilation/regress-381372.js,v <-- regress-381372.js initial revision: 1.1
Flags: in-testsuite+
verified fixed 1.9.0 linux/mac*/windows.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: