Closed Bug 760401 Opened 13 years ago Closed 13 years ago

Assertion failure: fp->isGeneratorFrame(), at ../../../js/src/jscntxt.cpp:1087 when using yield with default argument value

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 759904

People

(Reporter: gps, Unassigned)

References

Details

The following crashes with Assertion failure: fp->isGeneratorFrame(), at ../../../js/src/jscntxt.cpp:1087 function yieldWithDefault(foo=false) { yield true; } for (let i of yieldWithDefault()) { let x; } Removing the default argument value does not result in assertion failure.
Depends on: harmony:defaults
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.