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

Steven Schveighoffer <[email protected]> changed:

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

--- Comment #1 from Steven Schveighoffer <[email protected]> ---
druntime regression, though really we should just fix the `inout` restriction.

The `_d_newarrayUPureNothrow` is building an array of `inout(char)`, which is
wrong at this point. It should always return mutable data, and then properly
cast at the right place. Ideally, only one cast should ever be present.

The prior version of druntime avoids all the casts by just using `extern(C)`
functions with `TypeInfo` and void arrays.

Change is here: https://github.com/dlang/dmd/pull/16097

--

Reply via email to