http://d.puremagic.com/issues/show_bug.cgi?id=2497
Summary: delete and null relationship needs more details Product: D Version: 2.021 Platform: PC URL: http://www.digitalmars.com/d/2.0/expression.html#DeleteE xpression OS/Version: Linux Status: NEW Keywords: spec Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 1) A a = null; delete a; is this OK or not? 2) void do(A b) { delete b; } A a = new A; do(a); if (a is null) { writefln("yes"); } does a get reset to null or not? --