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

Unified Diff: test/message/syntactic-tail-call-without-return.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-sloppy.out ('k') | test/message/syntactic-tail-call-without-return.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/syntactic-tail-call-without-return.js
diff --git a/test/message/syntactic-tail-call-without-return.js b/test/message/syntactic-tail-call-without-return.js
index 3570e9048cd18d94f8f928b8c1a2d73fc1a1c403..130f67dafc1c638de8efad556f9e4c9ba6a587c0 100644
--- a/test/message/syntactic-tail-call-without-return.js
+++ b/test/message/syntactic-tail-call-without-return.js
@@ -3,6 +3,7 @@
// found in the LICENSE file.
// Flags: --harmony-explicit-tailcalls
+"use strict";
function f() {
return 1;
« no previous file with comments | « test/message/syntactic-tail-call-sloppy.out ('k') | test/message/syntactic-tail-call-without-return.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698