« Bugzilla Issues Index
#3361 — 12.14.5: Non-simple destructuring target in rest-destructuring (and typo)
- bug_id:
3361
- creation_ts:
2014-11-13 08:48:00 -0800
- short_desc:
12.14.5: Non-simple destructuring target in rest-destructuring (and typo)
- delta_ts:
2014-12-07 14:35:06 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 28: October 14, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
10610
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-11-13 08:48:49 -0800
12.14.5.1 Static Semantics: Early Errors
12.14.5.3 Runtime Semantics: IteratorDestructuringAssignmentEvaluation
- AssignmentRestElement[Yield] : ... DestructuringAssignmentTarget
Steps 6-7 are never applicable because of early error restrictions in 12.14.5.1
Also: Step 4.c.i "ammmumulationFinished" -> "accumulationFinished"
- commentid:
10644
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-11-16 15:56:10 -0800
fixed in rev29 editor's draft
removed the early error. there is no particular reason why the rest element of a restructuring array assignment has to be a simple asignment
- commentid:
10902
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-12-07 14:35:06 -0800
fixed in rev29