archives

« Bugzilla Issues Index

#636 — 13.4: "any AssignmentExpression"


In 13.4 "Generator Definitions",
under "Static Semantics: Early Errors",
rule 2 says:
"It is a Syntax Error if any AssignmentExpression Contains YieldExpression."

I'm wondering about that "any". If this is really about *any* AssignmentExpression, then you've got a problem, because every YieldExpression is contained by an AssignmentExpression (or AssignmentExpressionNoIn).

But if it's just about the AssignmentExpression in the YieldExpression production, then change "any" to "the".


deleted any

corrected in rev 11 editor's draft


in October 26, 2012 release draft