New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing [Yield] in 14.2.1 #80

Closed
anba opened this Issue Oct 8, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@anba
Contributor

anba commented Oct 8, 2015

http://tc39.github.io/ecma262/#sec-arrow-function-definitions-static-semantics-early-errors

  • If the [Yield] grammar parameter is present on ArrowParameters, it is a Syntax Error if the lexical token sequence matched by CoverParenthesizedExpressionAndArrowParameterList cannot be parsed with no tokens left over using ArrowFormalParameters as the goal symbol.

The goal symbol should be ArrowFormalParameters[Yield] instead of ArrowFormalParameters.

@bterlson bterlson added the spec bug label Oct 12, 2015

@bterlson

This comment has been minimized.

Show comment
Hide comment
@bterlson

bterlson Oct 15, 2015

Member

This is due to bterlson/ecmarkup#47. Will work on a fix.

Member

bterlson commented Oct 15, 2015

This is due to bterlson/ecmarkup#47. Will work on a fix.

@bterlson

This comment has been minimized.

Show comment
Hide comment
@bterlson

bterlson Oct 15, 2015

Member

Fixed in emu, updated the deployed spec with the fix.

Member

bterlson commented Oct 15, 2015

Fixed in emu, updated the deployed spec with the fix.

@bterlson bterlson closed this Oct 15, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment