DescriptionClosed generator returns a completed object instead of throwing a error
From ES6 rev20 draft, closed generator returns completed object (the
value is `undefined` and done is `true`).
Since a error thrown in generator is propagated to the caller without
setting status of a thrown generator to "completed", once a generator is
suspended by a error, status becomes "executing" forever. This is filed
as v8:3096
LOG=N
BUG=v8:3097
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=18591
Patch Set 1 : Fix upload error #
Total comments: 6
Patch Set 2 : Rev 2 #
Total comments: 1
Messages
Total messages: 9 (0 generated)
|