digitalmars.D.bugs - [Issue 15807] New: Array!bool insertBack is broken
- via Digitalmars-d-bugs (25/25) Mar 17 2016 https://issues.dlang.org/show_bug.cgi?id=15807
https://issues.dlang.org/show_bug.cgi?id=15807 Issue ID: 15807 Summary: Array!bool insertBack is broken Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: dragoscarp gmail.com 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 } --
Mar 17 2016