| Index: src/preparser.cc
|
| diff --git a/src/preparser.cc b/src/preparser.cc
|
| index af84cd07aac8f7e663c73f94a9b85947c1910fb4..ef33200134594d1e8446e07688297f93f15f85d3 100644
|
| --- a/src/preparser.cc
|
| +++ b/src/preparser.cc
|
| @@ -582,7 +582,7 @@ PreParser::Statement PreParser::ParseVariableDeclarations(
|
| ValidateLetPattern(&pattern_classifier, CHECK_OK);
|
| }
|
|
|
| - if (!allow_harmony_destructuring() && !pattern.IsIdentifier()) {
|
| + if (!allow_harmony_destructuring_bind() && !pattern.IsIdentifier()) {
|
| ReportUnexpectedToken(next);
|
| *ok = false;
|
| return Statement::Default();
|
|
|