← Back to index
|
Original Bugzilla link
Bug 15807 – Array!bool insertBack is broken
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-03-17T23:48:00Z
Last change time
2016-03-18T16:07:07Z
Assigned to
nobody
Creator
dragoscarp
Comments
Comment #0
by dragoscarp — 2016-03-17T23:48:51Z
import std.algorithm; import std.container; void main() { Array!bool a; for (int i; i < 32; ++i) a.insertBack(true); assert(a[].all); // works a.insertBack(true); assert(a[32]); // fails }
Comment #1
by dragoscarp — 2016-03-18T01:11:00Z
Fixed with
https://github.com/D-Programming-Language/phobos/pull/4091
Comment #2
by github-bugzilla — 2016-03-18T16:07:06Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/42a7855d2949aeafd3008b563160f6bce01f1e0b
Fix issue 15807
https://github.com/D-Programming-Language/phobos/commit/f3e6c436b2cb6368f58c8d3313a57777c9104d88
Merge pull request #4091 from dcarp/issue15807 Fix issue 15807