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

Unified Diff: test/message/arrow-strict-eval-bare-parameter.js

Issue 1207743004: Fix unexpected token messages in expression classifier (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Add message test Created 5 years, 6 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/preparser.h ('k') | test/message/arrow-strict-eval-bare-parameter.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/arrow-strict-eval-bare-parameter.js
diff --git a/test/mjsunit/harmony/regress/regress-arrow-duplicate-params.js b/test/message/arrow-strict-eval-bare-parameter.js
similarity index 80%
copy from test/mjsunit/harmony/regress/regress-arrow-duplicate-params.js
copy to test/message/arrow-strict-eval-bare-parameter.js
index a43f022c02d5ac942b5f7eae4b329f1beb78bfa9..d5692517dd3e59b3d359d70ab455ad1c2b0f0bad 100644
--- a/test/mjsunit/harmony/regress/regress-arrow-duplicate-params.js
+++ b/test/message/arrow-strict-eval-bare-parameter.js
@@ -1,7 +1,8 @@
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+//
// Flags: --harmony-arrow-functions
-assertThrows("(x, x, y) => 10;", SyntaxError);
+"use strict";
+eval => 42
« no previous file with comments | « src/preparser.h ('k') | test/message/arrow-strict-eval-bare-parameter.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698