[Issue 10376] Mutable field initializer reference is accessible through immutable aggregate
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Mar 30 18:01:00 UTC 2024
    
    
  
https://issues.dlang.org/show_bug.cgi?id=10376
Dlang Bot <dlang-bot at dlang.rocks> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
--- Comment #7 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel updated 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 10376 - Mutable field initializer reference is accessible
through immutable aggregate
https://github.com/dlang/dmd/pull/16347
--
    
    
More information about the Digitalmars-d-bugs
mailing list