Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: src/parsing/parser.cc

Issue 1544483002: [es6] use correct --harmony-destructuring-assignment flag when preparsing (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/harmony/destructuring-assignment-lazy.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.cc
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
index 5d1baf7604122c6a20a1bdbb8d1721f653c26f56..16badca39ea12e76d8525aa5b9cac7a7f73ba7a0 100644
--- a/src/parsing/parser.cc
+++ b/src/parsing/parser.cc
@@ -4924,6 +4924,7 @@ PreParser::PreParseResult Parser::ParseLazyFunctionBodyWithPreParser(
SET_ALLOW(harmony_sloppy_let);
SET_ALLOW(harmony_default_parameters);
SET_ALLOW(harmony_destructuring_bind);
+ SET_ALLOW(harmony_destructuring_assignment);
SET_ALLOW(strong_mode);
SET_ALLOW(harmony_do_expressions);
SET_ALLOW(harmony_function_name);
« no previous file with comments | « no previous file | test/mjsunit/harmony/destructuring-assignment-lazy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698