← Back to index
|
Original Bugzilla link
Bug 15046 – [REG2.068] isForwardRange documentation is documenting issue 14544
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-09-12T11:13:00Z
Last change time
2015-10-04T18:20:57Z
Keywords
pull
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2015-09-12T11:13:46Z
See:
http://dlang.org/phobos/std_range_primitives#isForwardRange
The "Examples" section is now: ----- Examples: static assert(!isForwardRange!(int)); static assert( isForwardRange!(int[])); static assert( isForwardRange!(inout(int)[])); // BUG 14544 struct R14544 { int front() { return 0;} void popFront() {} bool empty() { return false; } R14544 save() {return this;} } static assert( isForwardRange!R14544 ); ----- I think BUG 14544 should not be documented.
Comment #1
by k.hara.pg — 2015-09-12T11:15:34Z
Introduced in:
https://github.com/D-Programming-Language/phobos/pull/3276
Comment #2
by k.hara.pg — 2015-09-12T11:16:06Z
https://github.com/D-Programming-Language/phobos/pull/3648
Comment #3
by github-bugzilla — 2015-09-12T12:04:00Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/6813eca0d20dbb1ced9c4bfc172f8ae0b5b9693a
fix Issue 15046 - isForwardRange documentation is documenting issue 14544
https://github.com/D-Programming-Language/phobos/commit/f6c3e03b530be94a8a568c780e0535bbe7cf96f4
Merge pull request #3648 from 9rnsr/fix15046 [REG2.068] Issue 15046 - isForwardRange documentation is documenting issue 14544
Comment #4
by github-bugzilla — 2015-10-04T18:20:57Z
Commits pushed to stable at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/6813eca0d20dbb1ced9c4bfc172f8ae0b5b9693a
fix Issue 15046 - isForwardRange documentation is documenting issue 14544
https://github.com/D-Programming-Language/phobos/commit/f6c3e03b530be94a8a568c780e0535bbe7cf96f4
Merge pull request #3648 from 9rnsr/fix15046