Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index 3717e01a6ef70a3d3e74f7b55d26e7a832caaf6f..22c09d54a103876ec7eb6742c1c65596f01b021f 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -2173,6 +2173,7 @@ ParserBase<Impl>::ParseClassFieldForInitializer(bool has_initializer, |
initializer_scope->set_end_position(scanner()->location().end_pos); |
typename Types::StatementList body = impl()->NewStatementList(1); |
body->Add(factory()->NewReturnStatement(value, kNoSourcePosition), zone()); |
+ initializer_scope->DeclareArguments(ast_value_factory()); |
FunctionLiteralT function_literal = factory()->NewFunctionLiteral( |
impl()->EmptyIdentifierString(), initializer_scope, body, |
initializer_state.materialized_literal_count(), |