Description[generators] Desugar yield*.
This CL deals with yield* by desugaring it in the parser. Hence the
full-codegen implementation of it becomes obsolete and can be removed in a
future CL.
The only change in semantics should be that the results of the iterator's next
and throw methods are checked to be objects, which didn't happen before but is
required by the spec.
BUG=
Committed: https://crrev.com/5269944a18adf88577aa4787586cd8ca92510686
Cr-Commit-Position: refs/heads/master@{#33735}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Share some temporaries. #Patch Set 3 : Improve comment. #Patch Set 4 : Another one too. #Patch Set 5 : Add CHECK to rewriter. #
Total comments: 2
Patch Set 6 : Reuse (slightly generalized) BuildIteratorClose in return case. #Patch Set 7 : Refer to ResumeMode #
Messages
Total messages: 27 (10 generated)
|