Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 9113e8c7a4e3ba46b936b38d1f4627ff0c426cf4..fd269719eb8b32de5214788a96ae43e7d8696c67 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -2114,6 +2114,7 @@ Variable* Parser::Declare(Declaration* declaration, |
var = new (zone()) Variable(declaration_scope, name, mode, kind, |
declaration->initialization(), kNotAssigned); |
var->AllocateTo(VariableLocation::LOOKUP, -1); |
+ var->SetFromEval(); |
resolve = true; |
} |