archives

« Bugzilla Issues Index

#2504 — 14.2 Arrow Function: Add [Yield] production parameter to ArrowFunction and ArrowParameters


14.2 Arrow Function Definitions:

The production rules for "ArrowFunction" and "ArrowParameters" need to have the [Yield] production parameter to avoid a reduce/reduce conflict.

The rules should be updated to:
---
AssignmentExpression[In, Yield] :
ArrowFunction[?In, ?Yield]

ArrowFunction[In, Yield] :
ArrowParameters[?Yield] => ConciseBody[?In]

ArrowParameters[Yield] :
BindingIdentifier[?Yield]
CoverParenthesisedExpressionAndArrowParameterList[?Yield]
---


fixed in rev23 editor's draft


fixed in rev23 draft