archives

« Bugzilla Issues Index

#946 — 11.4: incorrect production


In 11.4 "Unary Operators",
under "Static Semantics: Early Errors",
group 1 bullet 2 says:
It is a Syntax Error if the derived UnaryExpression is
PrimaryExpression : ( Expression )
and Expression derived a production that if used in place of
UnaryExpression would produce a Syntax Error according to these rules.
This rule is recursively applied.

but the given production does not exist. Change "PrimaryExpression" to "CoverParenthesizedExpressionAndArrowParameterList".


corrected in rev 12 editor's draft


corrected in rev 12, Nov. 22, 2012 draft