Commit 06e45cd9 authored by Adam Klein's avatar Adam Klein Committed by Commit Bot

Ship restriction disallowing duplicate generator declarations in blocks

Bug: v8:4806
Change-Id: I612615f92c56f10a9c53237e0c5da26c527fc6f3
Reviewed-on: https://chromium-review.googlesource.com/478411Reviewed-by: 's avatarDaniel Ehrenberg <littledan@chromium.org>
Commit-Queue: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44666}
parent 88116e99
...@@ -214,15 +214,15 @@ DEFINE_IMPLICATION(es_staging, harmony) ...@@ -214,15 +214,15 @@ DEFINE_IMPLICATION(es_staging, harmony)
V(harmony_regexp_lookbehind, "harmony regexp lookbehind") \ V(harmony_regexp_lookbehind, "harmony regexp lookbehind") \
V(harmony_regexp_named_captures, "harmony regexp named captures") \ V(harmony_regexp_named_captures, "harmony regexp named captures") \
V(harmony_regexp_property, "harmony unicode regexp property classes") \ V(harmony_regexp_property, "harmony unicode regexp property classes") \
V(harmony_restrictive_generators, \
"harmony restrictions on generator declarations") \
V(harmony_object_rest_spread, "harmony object rest spread properties") \ V(harmony_object_rest_spread, "harmony object rest spread properties") \
V(harmony_template_escapes, \ V(harmony_template_escapes, \
"harmony invalid escapes in tagged template literals") "harmony invalid escapes in tagged template literals")
// Features that are shipping (turned on by default, but internal flag remains). // Features that are shipping (turned on by default, but internal flag remains).
#define HARMONY_SHIPPING_BASE(V) \ #define HARMONY_SHIPPING_BASE(V) \
V(harmony_trailing_commas, \ V(harmony_restrictive_generators, \
"harmony restrictions on generator declarations") \
V(harmony_trailing_commas, \
"harmony trailing commas in function parameter lists") "harmony trailing commas in function parameter lists")
#ifdef V8_I18N_SUPPORT #ifdef V8_I18N_SUPPORT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment