Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 429d7a262bb7d54abf781028b8aa567a34bcf3e2..45f60a076c905c712ab749e5c3bb8e9cbc2c297d 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -4706,7 +4706,7 @@ Expression* Parser::ParseClassLiteral(ExpressionClassifier* classifier, |
ExpressionClassifier property_classifier(this); |
const AstRawString* property_name = nullptr; |
ObjectLiteral::Property* property = ParsePropertyDefinition( |
- &checker, in_class, has_extends, MethodKind::kNormal, &is_computed_name, |
+ &checker, in_class, has_extends, &is_computed_name, |
&has_seen_constructor, &property_classifier, &property_name, CHECK_OK); |
RewriteNonPattern(&property_classifier, CHECK_OK); |
if (classifier != nullptr) { |