http://d.puremagic.com/issues/show_bug.cgi?id=7855
Summary: Wrong module dtor order Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: nob...@puremagic.com ReportedBy: c...@benjamin-thaut.de --- Comment #0 from Benjamin Thaut <c...@benjamin-thaut.de> 2012-04-08 02:06:18 PDT --- Created an attachment (id=1084) repro case When using a mixin template, which uses a module thats imported with a public import, the order the module destructors are called is wrong. The destructor of the module that is used by the mixin template gets called before the destructor of the module that uses the mixin template. Therefore the module that uses the mixin template works on a already destructed version of the module. See attached repro case. Tested with dmd 2.058 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------