Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index c02cad93e1d8463cecf6f75a3d94a2fe713a2e62..46b133723a09a1cfc412ccaaccf0b73d039079f1 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -4048,7 +4048,7 @@ FunctionLiteral* Parser::ParseFunctionLiteral(Handle<String> function_name, |
reserved_loc = scanner().location(); |
} |
- top_scope_->DeclareParameter(param_name, is_extended_mode() ? LET : VAR); |
+ top_scope_->DeclareParameter(param_name, VAR); |
num_parameters++; |
if (num_parameters > kMaxNumFunctionParameters) { |
ReportMessageAt(scanner().location(), "too_many_parameters", |