Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 0f2a76721370b4605d4a3021b78e8a8de2215575..555baf92ae7b76c3f0f0faa358467320b529f5c5 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -109,7 +109,8 @@ private: |
// Flags for experimental language features. |
DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") |
-DEFINE_bool(harmony_modules, false, "enable harmony modules") |
+DEFINE_bool(harmony_modules, false, |
+ "enable harmony modules (implies block scoping)") |
DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
DEFINE_bool(harmony_collections, false, |
"enable harmony collections (sets, maps, and weak maps)") |
@@ -118,6 +119,7 @@ DEFINE_implication(harmony, harmony_scoping) |
DEFINE_implication(harmony, harmony_modules) |
DEFINE_implication(harmony, harmony_proxies) |
DEFINE_implication(harmony, harmony_collections) |
+DEFINE_implication(harmony_modules, harmony_scoping) |
// Flags for experimental implementation features. |
DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") |