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

Unified Diff: test/message/formal-parameters-strict-body.js

Issue 1064433008: Re-apply formal argument, arrow function parsing refactors (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Remove stale declaration that crept in with last patch Created 5 years, 8 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
Index: test/message/formal-parameters-strict-body.js
diff --git a/test/message/regress/regress-3995.js b/test/message/formal-parameters-strict-body.js
similarity index 77%
copy from test/message/regress/regress-3995.js
copy to test/message/formal-parameters-strict-body.js
index ba84bc096527cc242b9ad43983b42eec0462c43c..c5af7405f7ca114226432b52043e9a0b90bd7208 100644
--- a/test/message/regress/regress-3995.js
+++ b/test/message/formal-parameters-strict-body.js
@@ -2,6 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-(function() {
- throw new Error("boom");
-})();
+function foo(b, eval) { "use strict"; return b }

Powered by Google App Engine
This is Rietveld 408576698