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

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

Issue 1928203002: [es8] More spec compliant syntactic tail calls implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Some STC tests ported for PTC 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-in-comma.out ('k') | test/message/syntactic-tail-call-in-extends.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/syntactic-tail-call-in-extends.js
diff --git a/test/message/syntactic-tail-call-in-try.js b/test/message/syntactic-tail-call-in-extends.js
similarity index 73%
copy from test/message/syntactic-tail-call-in-try.js
copy to test/message/syntactic-tail-call-in-extends.js
index 97eb4f757ab27e898e888078a46b80a8df61097a..02b578d4ca1a301ea7f39e814ea0d25924c16224 100644
--- a/test/message/syntactic-tail-call-in-try.js
+++ b/test/message/syntactic-tail-call-in-extends.js
@@ -4,13 +4,6 @@
// Flags: --harmony-explicit-tailcalls
-function f() {
- return 1;
-}
-
function g() {
- try {
- return continue f();
- } catch(e) {
- }
+ return class A extends continue f() {};
}
« no previous file with comments | « test/message/syntactic-tail-call-in-comma.out ('k') | test/message/syntactic-tail-call-in-extends.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698