http://d.puremagic.com/issues/show_bug.cgi?id=4621


Maxim Fomin <ma...@maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ma...@maxim-fomin.ru
         Resolution|                            |INVALID


--- Comment #18 from Maxim Fomin <ma...@maxim-fomin.ru> 2013-08-05 13:21:52 PDT 
---
This is invalid report since @safe has nothing to do with accessing
pointers/references which turned out to be nulls. This is valid D code:

void foo(int* p) @safe // or ref
{
   *p = 0;
} 

void main() @safe
{
   foo(null);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to