Chromium Code Reviews

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

Issue 1064433008: Re-apply formal argument, arrow function parsing refactors (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Avoid DuplicateFinder for the full parser 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-strict-body.out
diff --git a/test/message/formal-parameters-strict-body.out b/test/message/formal-parameters-strict-body.out
new file mode 100644
index 0000000000000000000000000000000000000000..bb0d7e03b2ecf4cb59774c7c41330a237aba0197
--- /dev/null
+++ b/test/message/formal-parameters-strict-body.out
@@ -0,0 +1,4 @@
+*%(basename)s:5: SyntaxError: Unexpected eval or arguments in strict mode
+function foo(b, eval) { "use strict"; return b }
+ ^^^^
+SyntaxError: Unexpected eval or arguments in strict mode

Powered by Google App Engine