| Index: src/preparser.h
|
| diff --git a/src/preparser.h b/src/preparser.h
|
| index cff443a93719b761d8e631f7cb0af155cbeaaf5f..9f586469583c5cc7681c6a78c8f3d05b7b3ed260 100644
|
| --- a/src/preparser.h
|
| +++ b/src/preparser.h
|
| @@ -3770,6 +3770,8 @@ ParserBase<Traits>::ParseArrowFunctionLiteral(
|
| if (is_strict(language_mode())) {
|
| CheckStrictOctalLiteral(formal_parameters.scope->start_position(),
|
| scanner()->location().end_pos, CHECK_OK);
|
| + }
|
| + if (is_strict(language_mode()) || allow_harmony_sloppy()) {
|
| this->CheckConflictingVarDeclarations(formal_parameters.scope, CHECK_OK);
|
| }
|
| }
|
|
|