Bug 5982 – [2.053 beta] std.iterator gone, but no mention of the change

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-05-11T12:58:00Z
Last change time
2015-06-09T05:13:47Z
Assigned to
nobody
Creator
bus_dbugzilla

Comments

Comment #0 by bus_dbugzilla — 2011-05-11T12:58:44Z
std.iterator is missing from the 2.053 beta. If this is intentional, it should be noted in the changelog. If it's accidental, then naturally it should be added back in.
Comment #1 by kennytm — 2011-05-11T13:09:54Z
Actually it is gone since 2.051. The module is removed in Nov 26, 2010: https://github.com/D-Programming-Language/phobos/commit/b152601707046df98cf418be34bd26c7bbc8fcfa
Comment #2 by bus_dbugzilla — 2011-05-11T23:07:55Z
I guess maybe it was supposed to be gone, but in that case there may have been an issue with Walter's release-packaging script because it *is* there in both "dmd.2.051.zip" and "dmd.2.052.zip". Ie, if you grab these: http://ftp.digitalmars.com/dmd.2.051.zip http://ftp.digitalmars.com/dmd.2.052.zip Inside both of those is "/src/phobos/std/iterator.d" (and it's not an empty file). Even though I've been using 2.052 for over a month, I had some code that was using the "ElementType" from std.iterator and I didn't even realize it until I tried the 2.053 beta which finally did get rid of std.iterator. So it may be good to at least make mention of this in the changelog. Maybe also a note to "Use either std.range.ElementType or std.range.ElementEncodingType depending on what you're trying to do."
Comment #3 by bugzilla — 2011-05-12T14:45:19Z
Fixed 2.053.