Due to insertBack wrong behavior, insertAfter is also returning 0 elements everytime. See dependent issue #21555.
@ljmf00 updated dlang/phobos pull request #7750 "Fix issue 21555, 21556 - container: array: insertAfter and insertBack are wrong" fixing this issue: - Fix issues 21555, 21556: container: array: add missing tests for Array!T .insertBack and .insertAfter Signed-off-by: Luís Ferreira <contact@lsferreira.net> https://github.com/dlang/phobos/pull/7750
dlang/phobos pull request #7750 "Fix issue 21555, 21556 - container: array: insertAfter and insertBack are wrong" was merged into master: - 30f71fd5705beaa3dc9c5131b081c60ccaa0974c by Luís Ferreira: Fix issues 21555, 21556: container: array: add missing tests for Array!T .insertBack and .insertAfter Signed-off-by: Luís Ferreira <contact@lsferreira.net> https://github.com/dlang/phobos/pull/7750