← Back to index
|
Original Bugzilla link
Bug 8240 – std.algorithm.joiner and empty inputRangeObject
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-14T08:47:00Z
Last change time
2012-06-14T22:11:36Z
Keywords
ice, pull
Assigned to
nobody
Creator
lomereiter
Comments
Comment #0
by lomereiter — 2012-06-14T08:47:47Z
Segmentation fault: import std.range, std.algorithm; void main() { assert(equal(joiner([inputRangeObject("")]), "")); }
Comment #1
by github-bugzilla — 2012-06-14T21:53:08Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/bf1a32fdfc7f32af9304f4399410d3ee3fb9a2c9
fix Issue 8240 - std.algorithm.joiner and empty inputRangeObject In this case, _current member is invalid at the start of iteration. Then joiner should have additional member _valid_current.
https://github.com/D-Programming-Language/phobos/commit/0b48d8e3717a30be230ff7c56db1026c075313e7
Merge pull request #632 from 9rnsr/fix8240 Issue 8240 - std.algorithm.joiner and empty inputRangeObject
Comment #2
by github-bugzilla — 2012-06-14T21:54:44Z
Commit pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/cbd1e63026da31176a21b140a911fc53337ff09c
Updated changelog for fix for issue 8240.
Comment #3
by k.hara.pg — 2012-06-14T22:11:36Z
Merged pull request:
https://github.com/D-Programming-Language/phobos/pull/632