Closed Bug 352269 Opened 19 years ago Closed 19 years ago

Incorrect decompilation for "yield (1,2)"

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.8.1

People

(Reporter: jruderman, Assigned: brendan)

Details

(Keywords: testcase, verified1.8.1)

Attachments

(1 file)

js> function() { yield (1,2) } function () { yield 1, 2; } js> function () { yield 1, 2; typein:3: SyntaxError: yield expression must be parenthesized:
Attached patch fixSplinter Review
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #237906 - Flags: review?(mrbkap)
OS: Mac OS X 10.4 → All
Priority: -- → P1
Hardware: Macintosh → All
Target Milestone: --- → mozilla1.8.1
Attachment #237906 - Flags: review?(mrbkap) → review+
Fixed on trunk. Checking in jsopcode.c; /cvsroot/mozilla/js/src/jsopcode.c,v <-- jsopcode.c new revision: 3.177; previous revision: 3.176 done /be
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment #237906 - Flags: approval1.8.1?
Comment on attachment 237906 [details] [diff] [review] fix a=schrep for 181drivers for JS decompiler fuzz bugs.
Attachment #237906 - Flags: approval1.8.1? → approval1.8.1+
Fixed on the 1.8 branch. /be
Keywords: fixed1.8.1
Checking in regress-352269.js; /cvsroot/mozilla/js/tests/js1_7/geniter/regress-352269.js,v <-- regress-352269.js initial revision: 1.1 done
Flags: in-testsuite+
verified fixed 1.8 20060914 windows/linux 1.9 20060914 windows/mac*/linux
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: