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

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ntrel created dlang/dmd pull request #16347 "Require @system for field
initializers with mutable reference types" fixing this issue:

- Require @system for field initializers with mutable reference types

  Enabled with -preview=unsafeFieldInit.

  Fixes Bugzilla 21675 - Unsafe aggregate field initializer causes undefined
behavior in @safe code

https://github.com/dlang/dmd/pull/16347

--

Reply via email to