Closed Bug 352025 Opened 18 years ago Closed 18 years ago

Missing parens in decompilation of nested yields

Categories

(Core :: JavaScript Engine, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

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
Fixed by the patch in bug 352026.
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: 352026
No longer depends on: 352084
Resolution: --- → FIXED
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+
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.