« Bugzilla Issues Index
#716 — 11.13.1 + 12.6.4: "IsInvalidAssignmentPattern"
- bug_id:
716
- creation_ts:
2012-10-04 20:59:00 -0700
- short_desc:
11.13.1 + 12.6.4: "IsInvalidAssignmentPattern"
- delta_ts:
2013-08-23 08:23:27 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 10: September 27, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Michael Dyck
- assigned_to:
Allen Wirfs-Brock
- commentid:
1838
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2012-10-04 20:59:05 -0700
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.
- commentid:
2025
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-10-24 19:07:08 -0700
corrected in rev 11 editor's draft
- commentid:
2170
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-10-26 15:34:27 -0700
in October 26, 2012 release draft
- commentid:
2223
- comment_count:
3
- who:
Michael Dyck
- bug_when:
2012-10-26 22:24:14 -0700
Fixed in 12.6.4 but not 11.13.1.
- commentid:
4754
- comment_count:
4
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-05 17:30:51 -0700
fixed in rev17 editor's draft
- commentid:
5172
- comment_count:
5
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-23 08:23:27 -0700
fixed in rev17, August 23, 2013 draft