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

Unified Diff: test/mjsunit/regress/regress-4908.js

Issue 1900343002: More accurately record an end position for default parameters in arrows (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: nikolaos comments Created 4 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
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-4908.js
diff --git a/test/message/new-target-escaped.js b/test/mjsunit/regress/regress-4908.js
similarity index 68%
copy from test/message/new-target-escaped.js
copy to test/mjsunit/regress/regress-4908.js
index f8398bebd4dda6d8568b3f80cbc85ed2c6d6710e..ec618b32c54559253d0247bb050fecb4d60f15f3 100644
--- a/test/message/new-target-escaped.js
+++ b/test/mjsunit/regress/regress-4908.js
@@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-//
+// Flags: --always-opt --no-lazy
-function f() {
- return new.t\u0061rget;
-}
-var o = new f();
+(function() { ((s = 17, y = s) => s)() })();
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698