compiler does not detect accessing on null class object.
    dangbinghoo 
    dangbinghoo at gmail.com
       
    Tue May 28 01:06:57 UTC 2019
    
    
  
On Monday, 27 May 2019 at 15:29:32 UTC, Daniel Kozak wrote:
> On Monday, 27 May 2019 at 15:13:00 UTC, dangbinghoo wrote:
>> hello,
>>
>
>
> 1.)
> Yes this is by design. It is not easy to detect this at compile 
> time.
> It does not break safety
>
> 2.)
> https://dlang.org/spec/function.html#function-safety
> https://dlang.org/spec/memory-safe-d.html
> https://dlang.org/articles/safed.html#safed-subset
thanks a lot.
so, The SafeD Subset consists of [function-safety, memory-safety].
    
    
More information about the Digitalmars-d-learn
mailing list