Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index b0e72592922e47a60c04436324cf5eb8d69e0cfb..3efb207c1ff566b1d2e24bc0190d2b6447c8592a 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -2177,7 +2177,7 @@ ParserBase<Impl>::ParseClassPropertyDefinition( |
is_computed_name, CHECK_OK_CUSTOM(EmptyClassLiteralProperty)); |
} |
- if (!*has_name_static_property && is_static && impl()->IsName(name)) { |
+ if (!*has_name_static_property && *is_static && impl()->IsName(name)) { |
*has_name_static_property = true; |
} |