« Bugzilla Issues Index
#1567 — 15.19.4.2.1: clarification for @@iterator of Generator instances needed
- bug_id:
1567
- creation_ts:
2013-06-24 13:05:00 -0700
- short_desc:
15.19.4.2.1: clarification for @@iterator of Generator instances needed
- delta_ts:
2013-07-15 17:03:44 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 15: May 14, 2013 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:
4310
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-06-24 13:05:40 -0700
15.19.4.2.1 currently says:
> The value of the @@iterator own property of a Generator instance is that Generator instance.
This is not compliant to the Iterable contract which describes @@iterator as a function of type '() -> Iterator'. @@iterator either needs to go to %GeneratorPrototype% or a bound function / arrow function like wrapper is needed.
- commentid:
4315
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-06-24 16:31:59 -0700
right, it belogs on %GeneratorPrototype% That's even shown on the class hierarchy diagram in 15.19.3
fixed in rev 16 editor's draft
- commentid:
4439
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-07-15 17:03:44 -0700
fixed in rev16 draft. July 15, 2013