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

Side by Side 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 unified diff | Download patch
OLDNEW
1 *%(basename)s:6: SyntaxError: Strict mode function may not have duplicate parame ter names 1 *%(basename)s:6: SyntaxError: Duplicate parameter name not allowed in this conte xt
2 function foo(b, a, a, d) { return a } 2 function foo(b, a, a, d) { return a }
3 ^ 3 ^
4 SyntaxError: Strict mode function may not have duplicate parameter names 4 SyntaxError: Duplicate parameter name not allowed in this context
OLDNEW
« 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