https://issues.dlang.org/show_bug.cgi?id=13619

safety0ff.bugz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from safety0ff.bugz <[email protected]> ---
I think the bug you reported is not valid.
However, there is a bug when using length to shorten the array:

import std.container;

void main() {
  Array!int a; // empty Array
  a.length = 10; // a contains 10 default ints
  a.length = 9; // Remove one, should have capacity > 0
  assert(a.capacity > 0);
}

--

Reply via email to