Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index 0f65b3e26a58d89476b2eb1133a0992190cf4dbf..ae141f7076f9866d93666439de90262707325f6c 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -1251,9 +1251,9 @@ PreParserExpression PreParser::ParseClassLiteral( |
// property names here. |
Identifier name; |
ExpressionClassifier property_classifier(this); |
- ParsePropertyDefinition(&checker, in_class, has_extends, MethodKind::Normal, |
- &is_computed_name, &has_seen_constructor, |
- &property_classifier, &name, CHECK_OK); |
+ ParsePropertyDefinition( |
+ &checker, in_class, has_extends, MethodKind::kNormal, &is_computed_name, |
+ &has_seen_constructor, &property_classifier, &name, CHECK_OK); |
ValidateExpression(&property_classifier, CHECK_OK); |
if (classifier != nullptr) { |
classifier->Accumulate(&property_classifier, |