| Index: src/parsing/preparser.h
|
| diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
|
| index e93f3f998dc27687069e47412b6db94f8de4c46c..d35c439619b2e8722728a1950a2c11315a9af10d 100644
|
| --- a/src/parsing/preparser.h
|
| +++ b/src/parsing/preparser.h
|
| @@ -2737,6 +2737,8 @@ ParserBase<Traits>::ParsePropertyDefinition(
|
| return this->EmptyObjectLiteralProperty();
|
| }
|
|
|
| + BindingPatternUnexpectedToken(classifier);
|
| +
|
| if (is_generator || peek() == Token::LPAREN) {
|
| // MethodDefinition
|
| // PropertyName '(' StrictFormalParameters ')' '{' FunctionBody '}'
|
|
|