← Back to index
|
Original Bugzilla link
Bug 19207 – std.algorithm.subsitute wrong results for single subrange substitution
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-08-30T10:35:40Z
Last change time
2018-10-06T09:38:40Z
Assigned to
No Owner
Creator
John Colvin
Comments
Comment #0
by john.loughran.colvin — 2018-08-30T10:35:40Z
[1,2,3,4].substitute([2],[7]) returns [1,7] instead of [1,7,3,4] Caused by a trivial mistake, PR incoming.
Comment #1
by Ajieskola — 2018-08-31T19:30:14Z
Link to his PR:
https://github.com/dlang/phobos/pull/6687
Comment #2
by github-bugzilla — 2018-10-06T09:38:34Z
Commit pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/82c73711a590d5757951b8aea3c20b842c043e71
fix issue 19207