| Index: src/parsing/preparser.cc
|
| diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc
|
| index 9fa94a362e4085e10b3eba3ef77de059af11b500..6e5698b574d9eaa66060b0b869352ffc5f229621 100644
|
| --- a/src/parsing/preparser.cc
|
| +++ b/src/parsing/preparser.cc
|
| @@ -1176,8 +1176,8 @@ PreParserExpression PreParser::ParseClassLiteral(
|
| CheckNoTailCallExpressions(&extends_classifier, CHECK_OK);
|
| ValidateExpression(&extends_classifier, CHECK_OK);
|
| if (classifier != nullptr) {
|
| - classifier->Accumulate(&extends_classifier,
|
| - ExpressionClassifier::ExpressionProductions);
|
| + classifier->AccumulateFormalParameterContainmentErrors(
|
| + &extends_classifier);
|
| }
|
| }
|
|
|
| @@ -1197,8 +1197,8 @@ PreParserExpression PreParser::ParseClassLiteral(
|
| &has_seen_constructor, &property_classifier, &name, CHECK_OK);
|
| ValidateExpression(&property_classifier, CHECK_OK);
|
| if (classifier != nullptr) {
|
| - classifier->Accumulate(&property_classifier,
|
| - ExpressionClassifier::ExpressionProductions);
|
| + classifier->AccumulateFormalParameterContainmentErrors(
|
| + &property_classifier);
|
| }
|
| }
|
|
|
|
|