archives

« Bugzilla Issues Index

#716 — 11.13.1 + 12.6.4: "IsInvalidAssignmentPattern"


In 11.13.1 "Destructuring Assignment",
under "Static Semantics: Early Errors",
rule 2 bullet 5 says:
It is a Syntax Error if IsInvalidAssignmentPattern of LeftHandSideExpression
is true.

(Ditto in 12.6.4 "The for-in and for-of Statements",
under "Static Semantics: Early Errors",
rule 1 bullet 4.)

But 'IsInvalidAssignmentPattern' is not defined.

I'm guessing it's the negation of 'IsValidSimpleAssignmentTarget',
in which case change each of the above to:
It is a Syntax Error if IsValidSimpleAssignmentTarget of
LeftHandSideExpression is false.


corrected in rev 11 editor's draft


in October 26, 2012 release draft


Fixed in 12.6.4 but not 11.13.1.


fixed in rev17 editor's draft


fixed in rev17, August 23, 2013 draft