Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 3242429d80a36a3d053cacc50859b5eee0d2ed2e..bc821f8365ea47f171d6b360d75e5ed110e11944 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -1331,7 +1331,7 @@ void ParserTraits::AddFormalParameter( |
Expression* pattern, Expression* initializer, bool is_rest) { |
bool is_simple = |
!is_rest && pattern->IsVariableProxy() && initializer == nullptr; |
- DCHECK(parser_->allow_harmony_destructuring() || |
+ DCHECK(parser_->allow_harmony_destructuring_bind() || |
parser_->allow_harmony_rest_parameters() || |
parser_->allow_harmony_default_parameters() || is_simple); |
const AstRawString* name = is_simple |