[Issue 4621] Destructors are inherently un- at safe
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 5 13:21:56 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=4621
Maxim Fomin <maxim at maxim-fomin.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |maxim at maxim-fomin.ru
Resolution| |INVALID
--- Comment #18 from Maxim Fomin <maxim at 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: -------
More information about the Digitalmars-d-bugs
mailing list