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

Unified Diff: test/message/syntactic-tail-call-of-eval.js

Issue 1964603002: [es8] Throw SyntaxError when trying to tail call a direct eval. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@stc-strict-mode
Patch Set: Created 4 years, 7 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 | « src/parsing/preparser.h ('k') | test/message/syntactic-tail-call-of-eval.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/syntactic-tail-call-of-eval.js
diff --git a/test/message/syntactic-tail-call-sloppy.js b/test/message/syntactic-tail-call-of-eval.js
similarity index 85%
copy from test/message/syntactic-tail-call-sloppy.js
copy to test/message/syntactic-tail-call-of-eval.js
index 3973fc6d182643802701edc539b64eed45e16af3..e69aa9c351a20c2ec537e38d890ba8bfbe93f651 100644
--- a/test/message/syntactic-tail-call-sloppy.js
+++ b/test/message/syntactic-tail-call-of-eval.js
@@ -5,5 +5,5 @@
// Flags: --harmony-explicit-tailcalls
function g() {
- return continue f() ;
+ return continue eval ("f()") ;
}
« no previous file with comments | « src/parsing/preparser.h ('k') | test/message/syntactic-tail-call-of-eval.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698