| Index: test/mjsunit/es6/generators-parsing.js
|
| diff --git a/test/mjsunit/es6/generators-parsing.js b/test/mjsunit/es6/generators-parsing.js
|
| index e4408365d3e5669834b6f3ff43a8b39a601626e3..f3f8cad086ace0a7a91d46ec7a0c7cbe30b74e3b 100644
|
| --- a/test/mjsunit/es6/generators-parsing.js
|
| +++ b/test/mjsunit/es6/generators-parsing.js
|
| @@ -124,8 +124,8 @@ assertThrows("function* g() { yield 3 + yield 4; }", SyntaxError);
|
| // Yield is still a future-reserved-word in strict mode
|
| assertThrows("function f() { \"use strict\"; var yield = 13; }", SyntaxError);
|
|
|
| -// The name of the NFE is let-bound in G, so is invalid.
|
| -assertThrows("function* g() { yield (function yield() {}); }", SyntaxError);
|
| +// The name of the NFE is bound in the generator expression, so is invalid.
|
| +assertThrows("function f() { (function* yield() {}); }", SyntaxError);
|
|
|
| // In generators, yield is invalid as a formal argument name.
|
| assertThrows("function* g(yield) { yield (10); }", SyntaxError);
|
|
|