| Index: test/mjsunit/es8/syntactic-tail-call-parsing.js
|
| diff --git a/test/mjsunit/es8/syntactic-tail-call-parsing.js b/test/mjsunit/es8/syntactic-tail-call-parsing.js
|
| index 486c3e1da6e29a62e94cbd20e8230a9b09111f4f..9ceff9c59649ba1bfa451e9743f8a8e9d0381ef7 100644
|
| --- a/test/mjsunit/es8/syntactic-tail-call-parsing.js
|
| +++ b/test/mjsunit/es8/syntactic-tail-call-parsing.js
|
| @@ -3,7 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| // Flags: --allow-natives-syntax --harmony-explicit-tailcalls
|
| -// Flags: --harmony-do-expressions --harmony-async-await
|
| +// Flags: --harmony-do-expressions
|
| "use strict";
|
|
|
| var SyntaxErrorTests = [
|
| @@ -128,10 +128,7 @@
|
| err: ` ^^^^^^^^^^^^^^`,
|
| },
|
| { src: `()=>{ function* G() { yield continue foo(); } }`,
|
| - err: ` ^^^^^`,
|
| - },
|
| - { src: `()=>{ function* G() { return continue foo(); } }`,
|
| - err: ` ^^^^^`,
|
| + err: ` ^^^^^^^^^^^^^^`,
|
| },
|
| { src: `()=>{ (1, 2, 3, continue f() ) => {} }`,
|
| err: ` ^^^^^^^^^^^^`,
|
| @@ -237,9 +234,6 @@
|
| },
|
| { src: `class A extends continue f () {}; }`,
|
| err: ` ^^^^^^^^^^^^^`,
|
| - },
|
| - { src: `async() => continue foo()`,
|
| - err: ` ^^^^^`,
|
| },
|
| ],
|
| },
|
| @@ -317,6 +311,7 @@
|
| `()=>{ return a || continue f() ; }`,
|
| `()=>{ return a && continue f() ; }`,
|
| `()=>{ return a , continue f() ; }`,
|
| + `()=>{ function* G() { return continue foo(); } }`,
|
| `()=>{ class A { foo() { return continue super.f() ; } } }`,
|
| `()=>{ function B() { return continue new.target() ; } }`,
|
| `()=>{ return continue do { x ? foo() : bar() ; }() }`,
|
|
|