[Issue 13279] [dmd-2.066-rc2] Invalidated state of DList with linearRemove

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 11 04:15:49 PDT 2014


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

--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
The assert was introduced in:
https://github.com/D-Programming-Language/phobos/pull/1954

However, as far as I see, the code modifies dlist during its iteration. By the
modification, original range would be invalid and the assertion detects
"invalid state".

--


More information about the Digitalmars-d-bugs mailing list