« Bugzilla Issues Index
#3917 — 12.14.5.3 IteratorDestructuringAssignmentEvaluation: iteratorRecord.[[done]] not set in elision when iterator completed
- bug_id:
3917
- creation_ts:
2015-02-14 08:05:00 -0800
- short_desc:
12.14.5.3 IteratorDestructuringAssignmentEvaluation: iteratorRecord.[[done]] not set in elision when iterator completed
- delta_ts:
2015-02-19 19:10:51 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 33: February 12, 2015 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:
12645
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-02-14 08:05:05 -0800
12.14.5.3 Runtime Semantics: IteratorDestructuringAssignmentEvaluation
Elision : ,
Elision : Elision ,
The sub-steps of step 1 resp. step 3 probably need to be changed to:
---
a. Let next be IteratorStep(iteratorRecord.[[iterator]]).
b. If next is an abrupt completion, set iteratorRecord.[[done]] to true.
c. ReturnIfAbrupt(next).
d. If next is false, set iteratorRecord.[[done]] to true.
---
Otherwise the completed iterator status is not set after IteratorStep.
- commentid:
12658
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-14 08:32:33 -0800
fixed in rev34 editor's draft
- commentid:
13011
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-19 19:10:51 -0800
fixed in rev34