Missing parens in decompilation of nested yields

VERIFIED FIXED

Status

()

Core
JavaScript Engine
VERIFIED FIXED
11 years ago
11 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {testcase})

Trunk
PowerPC
Mac OS X
testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
js> function() { yield (yield a); }
function () {
    yield yield a;
}

js> function () {                   
    yield yield a;
typein:12: SyntaxError: missing ; before statement:
The patch in bug 352084 fixes this bug.

/be
Depends on: 352084
(Reporter)

Comment 2

11 years ago
Fixed by the patch in bug 352026.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Depends on: 352026
No longer depends on: 352084
Resolution: --- → FIXED

Comment 3

11 years ago
Checking in regress-352025.js;
/cvsroot/mozilla/js/tests/js1_7/geniter/regress-352025.js,v  <--  regress-352025.js
initial revision: 1.1
done
Flags: in-testsuite+

Comment 4

11 years ago
verified fixed 1.9 20060914 windows/mac*/linux
bug not evident on 1.8...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.