Commit 7f019bb2 authored by Sathya Gunasekaran's avatar Sathya Gunasekaran Committed by Commit Bot

[ESNext] Stage optional catch binding

Bug: v8:6889
Change-Id: Ia14a51f4d71059669e62a831c4f3c4d3e60003f1
Reviewed-on: https://chromium-review.googlesource.com/857881Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50464}
parent 0d0888c4
...@@ -207,8 +207,7 @@ DEFINE_IMPLICATION(harmony_class_fields, harmony_static_fields) ...@@ -207,8 +207,7 @@ DEFINE_IMPLICATION(harmony_class_fields, harmony_static_fields)
V(harmony_do_expressions, "harmony do-expressions") \ V(harmony_do_expressions, "harmony do-expressions") \
V(harmony_class_fields, "harmony fields in class literals") \ V(harmony_class_fields, "harmony fields in class literals") \
V(harmony_static_fields, "harmony static fields in class literals") \ V(harmony_static_fields, "harmony static fields in class literals") \
V(harmony_bigint, "harmony arbitrary precision integers") \ V(harmony_bigint, "harmony arbitrary precision integers")
V(harmony_optional_catch_binding, "allow omitting binding in catch blocks")
// Features that are complete (but still behind --harmony/es-staging flag). // Features that are complete (but still behind --harmony/es-staging flag).
#define HARMONY_STAGED(V) \ #define HARMONY_STAGED(V) \
...@@ -217,7 +216,8 @@ DEFINE_IMPLICATION(harmony_class_fields, harmony_static_fields) ...@@ -217,7 +216,8 @@ DEFINE_IMPLICATION(harmony_class_fields, harmony_static_fields)
"harmony disallow non undefined primitive return value from class " \ "harmony disallow non undefined primitive return value from class " \
"constructor") \ "constructor") \
V(harmony_dynamic_import, "harmony dynamic import") \ V(harmony_dynamic_import, "harmony dynamic import") \
V(harmony_public_fields, "harmony public fields in class literals") V(harmony_public_fields, "harmony public fields in class literals") \
V(harmony_optional_catch_binding, "allow omitting binding in catch blocks")
// 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) \
......
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