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

safety0ff.bugz <[email protected]> changed:

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

--- Comment #1 from safety0ff.bugz <[email protected]> ---
Right, the realloc in length(size_t) should be replaced with similar code to
reserve, i.e.:

static if (hasIndirections!T)
    // use malloc/copy/free along with GC.addRange & GC.removeRange
else
    // use realloc

--

Reply via email to