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

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

Issue 1955393002: [es8] Throw SyntaxError when tail call expressions occur in non-strict mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
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 | « test/message/syntactic-tail-call-of-identifier.out ('k') | test/message/syntactic-tail-call-sloppy.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/syntactic-tail-call-sloppy.js
diff --git a/test/message/syntactic-tail-call-in-extends.js b/test/message/syntactic-tail-call-sloppy.js
similarity index 84%
copy from test/message/syntactic-tail-call-in-extends.js
copy to test/message/syntactic-tail-call-sloppy.js
index 02b578d4ca1a301ea7f39e814ea0d25924c16224..3973fc6d182643802701edc539b64eed45e16af3 100644
--- a/test/message/syntactic-tail-call-in-extends.js
+++ b/test/message/syntactic-tail-call-sloppy.js
@@ -5,5 +5,5 @@
// Flags: --harmony-explicit-tailcalls
function g() {
- return class A extends continue f() {};
+ return continue f() ;
}
« no previous file with comments | « test/message/syntactic-tail-call-of-identifier.out ('k') | test/message/syntactic-tail-call-sloppy.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698