[Issue 8752] Unsafe use of T.init should be allowed in @system function
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Tue Jun  7 00:08:39 PDT 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=8752
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|---                         |WONTFIX
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
Data cannot currently be marked as @system. This would be a pretty significant
change.
Anyhow, I don't think this is an @safe problem. Null pointers are the worst
that can happen, and @safe doesn't cover that. Neither is a "logically invalid
object".
--
    
    
More information about the Digitalmars-d-bugs
mailing list