[Issue 21555] std.container.array: insertBack is wrong and should be tested for Array!bool

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 18 20:55:37 UTC 2021


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ljmf00 updated dlang/phobos pull request #7750 "Fix issue 21555, 21556 -
container: array: insertAfter and insertBack are wrong" fixing this issue:

- Fix issue 21555: std.container.array: insertBack is wrong and should be
tested for Array!bool

  insertBack() returns 0 inserted elements everytime due to a preformed
  .popFront() on the range.

  Signed-off-by: Luís Ferreira <contact at lsferreira.net>

- Fix issues 21555, 21556: container: array: add missing tests for Array!T
.insertBack and .insertAfter

  Signed-off-by: Luís Ferreira <contact at lsferreira.net>

https://github.com/dlang/phobos/pull/7750

--


More information about the Digitalmars-d-bugs mailing list