Chromium Code Reviews

Unified Diff: test/message/formal-parameters-trailing-comma.out

Issue 1064433008: Re-apply formal argument, arrow function parsing refactors (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Refactor to add formal parameters directly to the scope Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/message/formal-parameters-trailing-comma.out
diff --git a/test/message/formal-parameters-trailing-comma.out b/test/message/formal-parameters-trailing-comma.out
new file mode 100644
index 0000000000000000000000000000000000000000..4b930eceae1709998469bb1ffaf7be57ef01f042
--- /dev/null
+++ b/test/message/formal-parameters-trailing-comma.out
@@ -0,0 +1,4 @@
+*%(basename)s:5: SyntaxError: Unexpected token )
+function foo(b, a, a,) { return a }
+ ^
+SyntaxError: Unexpected token )

Powered by Google App Engine