[Issue 23145] Stack allocation of scope variables defeats @safe
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun May 29 00:58:12 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=23145
timon.gehr at gmx.ch changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
--- Comment #1 from timon.gehr at gmx.ch ---
Probably the fix for this is to only stack-allocate if the constructor is
`scope`.
--
    
    
More information about the Digitalmars-d-bugs
mailing list