Chromium Code Reviews| Index: test/message/syntactic-tail-call-in-subclass.js |
| diff --git a/test/message/syntactic-tail-call-in-try.js b/test/message/syntactic-tail-call-in-subclass.js |
| similarity index 71% |
| copy from test/message/syntactic-tail-call-in-try.js |
| copy to test/message/syntactic-tail-call-in-subclass.js |
| index 97eb4f757ab27e898e888078a46b80a8df61097a..aedfebd5b31dcbfc1410479e772ee212adb3ade8 100644 |
| --- a/test/message/syntactic-tail-call-in-try.js |
| +++ b/test/message/syntactic-tail-call-in-subclass.js |
| @@ -4,13 +4,11 @@ |
| // Flags: --harmony-explicit-tailcalls |
| -function f() { |
| - return 1; |
| -} |
| - |
| function g() { |
| - try { |
| - return continue f(); |
| - } catch(e) { |
| + class A {}; |
| + class B extends A { |
| + constructor() { |
| + return continue f() ; |
| + } |
| } |
| } |