[Issue 23780] Manual __ctor call can mutate immutable object in @safe code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 15 11:22:10 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Yes, manually calling __ctor in @safe code should be disabled.

--


More information about the Digitalmars-d-bugs mailing list