Description[es6] Fix parsing of 'yield' in function and generator expressions
In a function expression, 'yield' is allowed, even if the expression
occurs inside a generator. Similarly, even in a non-generator,
a generator expression's name must not be 'yield'.
BUG=v8:3983
LOG=n
Committed: https://crrev.com/2ea7f3c8690e51e15147493b468a9837ab980bf3
Cr-Commit-Position: refs/heads/master@{#32188}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|