Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index 72a5ae4d6077fab4a067c57553f7348eeeb8bfa4..c0e724253f2767ed2a6bbbee436db3c99cd9f62a 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -180,6 +180,7 @@ Handle<Object> Context::Lookup(Handle<String> name, |
switch (mode) { |
case Variable::INTERNAL: // Fall through. |
case Variable::VAR: |
+ case Variable::LET: |
*attributes = NONE; |
break; |
case Variable::CONST: |