Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 9ba68953e28b0dccfac1e97a69efba0698636a6c..e03de141232f6ca5ac743d83dffecca168c16f4f 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -1275,8 +1275,9 @@ void ParserTraits::DeclareFormalParameter( |
auto mode = is_simple || parameter.is_rest ? VAR : TEMPORARY; |
if (!is_simple) scope->SetHasNonSimpleParameters(); |
bool is_optional = parameter.initializer != nullptr; |
- Variable* var = scope->DeclareParameter( |
- name, mode, is_optional, parameter.is_rest, &is_duplicate); |
+ Variable* var = |
+ scope->DeclareParameter(name, mode, is_optional, parameter.is_rest, |
+ &is_duplicate, parser_->ast_value_factory()); |
if (is_duplicate) { |
classifier->RecordDuplicateFormalParameterError( |
parser_->scanner()->location()); |