Reviewers: rossberg,

Message:
PTAL

Description:
[es6] Make harmony_destructuring imply harmony_default_parameters

When encountering a "=" token in ParseAssignmentExpression, the default
parameter case is not locally distinguishable from the destructuring case.

BUG=

Please review this at https://codereview.chromium.org/1317843002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+3, -0 lines):
  M src/flag-definitions.h


Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index ba049b144264271da96b2ae25fcd9b117a5c3bbe..19769f16047c29f7cc0e625a0ef8718138f3259b 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -247,6 +247,9 @@ HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES)
 DEFINE_IMPLICATION(harmony_sloppy_let, harmony_sloppy)
 DEFINE_IMPLICATION(harmony_sloppy_function, harmony_sloppy)

+// Destructuring shares too much parsing architecture with default parameters
+// to be enabled on its own.
+DEFINE_IMPLICATION(harmony_destructuring, harmony_default_parameters)

 // Flags for experimental implementation features.
 DEFINE_BOOL(compiled_keyed_generic_loads, false,


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to