http://d.puremagic.com/issues/show_bug.cgi?id=6437
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Andrej Mitrovic <[email protected]> 2012-04-19 18:34:00 PDT --- (In reply to comment #2) > I just tried the example in D 2.058 and the extra dtors appear to have been > fixed. The issue with globals and destruction still exists. For now, you can > work around the problem using > > static ~this() { typeid(foo).destroy(&foo1); } Yes it's fixed, thanks. The globals issue isn't really a bug since destruction of globals isn't guaranteed (IIRC the docs were updated recently to acknowledge this). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
