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

Unified Diff: test/message/strict-formal-parameters.out

Issue 1236863008: Improve error message for duplicate parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix webkit test Created 5 years, 5 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 | « test/message/arrow-formal-parameters.out ('k') | test/webkit/fast/js/basic-strict-mode-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/strict-formal-parameters.out
diff --git a/test/message/strict-formal-parameters.out b/test/message/strict-formal-parameters.out
index 3648d3858690561925d9551d700163709872da3f..3ea3f233b74da85b24a2923f772e1c91c94f70cf 100644
--- a/test/message/strict-formal-parameters.out
+++ b/test/message/strict-formal-parameters.out
@@ -1,4 +1,4 @@
-*%(basename)s:6: SyntaxError: Strict mode function may not have duplicate parameter names
+*%(basename)s:6: SyntaxError: Duplicate parameter name not allowed in this context
function foo(b, a, a, d) { return a }
^
-SyntaxError: Strict mode function may not have duplicate parameter names
+SyntaxError: Duplicate parameter name not allowed in this context
« no previous file with comments | « test/message/arrow-formal-parameters.out ('k') | test/webkit/fast/js/basic-strict-mode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698