Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 8e483f8f7858ab7508faf33d6e8e0ed6be695322..945af996676b88a3ca3492e12b6296d009800760 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -4717,7 +4717,7 @@ |
ExpressionClassifier property_classifier(this); |
const AstRawString* property_name = nullptr; |
ObjectLiteral::Property* property = ParsePropertyDefinition( |
- &checker, in_class, has_extends, &is_computed_name, |
+ &checker, in_class, has_extends, MethodKind::kNormal, &is_computed_name, |
&has_seen_constructor, &property_classifier, &property_name, CHECK_OK); |
RewriteNonPattern(&property_classifier, CHECK_OK); |
if (classifier != nullptr) { |