| Index: src/parsing/parser-base.h
|
| diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h
|
| index a1ca30d4114d71bde6cc0cceebc5d7a403dee6ff..ade79de3a27f596a6d8639261b9db7499e60151c 100644
|
| --- a/src/parsing/parser-base.h
|
| +++ b/src/parsing/parser-base.h
|
| @@ -1764,7 +1764,8 @@ ParserBase<Traits>::ParsePropertyDefinition(
|
| ObjectLiteralPropertyT property = ParsePropertyDefinition(
|
| checker, true, has_extends, true, is_computed_name, nullptr, classifier,
|
| name, ok);
|
| - property = Traits::RewriteObjectLiteralProperty(property, classifier, ok);
|
| + property = Traits::RewriteNonPatternObjectLiteralProperty(property,
|
| + classifier, ok);
|
| return property;
|
| }
|
|
|
|
|