[Issue 2497] delete and null relationship needs more details

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 6 16:49:52 PST 2008


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





------- Comment #2 from jlquinn at optonline.net  2008-12-06 18:49 -------
(In reply to comment #1)

> 2. No, because do has no access to variable a.  However, it were declared as
> ref, it would.

OK, this is what I thought.  What happens when you access a, then?  In Java
you'd get an NPE.  no matter how you try to access the object.  Does it
coredump or is there a defined behavior?


-- 



More information about the Digitalmars-d-bugs mailing list