[Issue 22606] init differs from ctor call for structs
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Dec  9 11:59:10 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=22606
RazvanN <razvan.nitu1305 at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |INVALID
--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
Yes, anonymous4 is right. .init is represented by statically known data. The
context pointer has the init value of every other pointer, "null". So in this
case, this is a programming mistake.
--
    
    
More information about the Digitalmars-d-bugs
mailing list