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

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

Issue 1236863008: Improve error message for duplicate parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: arrow function 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
Index: test/message/arrow-formal-parameters.out
diff --git a/test/message/arrow-formal-parameters.out b/test/message/arrow-formal-parameters.out
new file mode 100644
index 0000000000000000000000000000000000000000..bafcf452e3e53c3f3a22e7b282d4a379e96be0b0
--- /dev/null
+++ b/test/message/arrow-formal-parameters.out
@@ -0,0 +1,4 @@
+*%(basename)s:5: SyntaxError: Duplicate parameter name not allowed in this context
+(b, a, a, d) => a
+ ^
+SyntaxError: Duplicate parameter name not allowed in this context

Powered by Google App Engine
This is Rietveld 408576698