DescriptionDisallow generator declarations in certain locations
The legacy function declaration locations from Annex B 3.2 and 3.4 do not
apply for generator declarations. This patch cracks down on those usages,
which is tested for by new incoming test262 tests.
BUG=v8:4824
LOG=Y
R=adamk
Committed: https://crrev.com/63b935428c29f60c35cf3a8234385c95251aea8a
Cr-Commit-Position: refs/heads/master@{#35835}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Fix from review comments #
Total comments: 2
Patch Set 3 : Fix overzealous find/replace #Patch Set 4 : Rebase #
Messages
Total messages: 20 (7 generated)
|