Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: test/mjsunit/function-name-eval-shadowed.js

Issue 2230323004: Cleanup scope resolution (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/ast/scopes.cc ('K') | « src/ast/scopes.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/function-name-eval-shadowed.js
diff --git a/test/intl/regexp-prepare.js b/test/mjsunit/function-name-eval-shadowed.js
similarity index 67%
copy from test/intl/regexp-prepare.js
copy to test/mjsunit/function-name-eval-shadowed.js
index dec84110ed02e30bba674538534a069f7d43d39d..70cc4b9c547808a0921ca8111bf90694a49b479c 100644
--- a/test/intl/regexp-prepare.js
+++ b/test/mjsunit/function-name-eval-shadowed.js
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-/(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)/.exec(">>>abcdefghij<<<");
+assertEquals(200, (function f() { eval("var f = 100"); f = 200; return f })());
« src/ast/scopes.cc ('K') | « src/ast/scopes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698