Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 7514) |
+++ src/runtime.cc (working copy) |
@@ -9821,6 +9821,9 @@ |
at_local_ = index < 0; |
} else if (context_->is_function_context()) { |
at_local_ = true; |
+ } else if (context_->closure() != *function_) { |
+ // The context_ is a with block from the outer function. |
antonm
2011/04/06 16:41:49
maybe assert this: ASSRT(context_->has_extension()
|
+ at_local_ = true; |
} |
} |