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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Benjamin Thaut <[email protected]> 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: -------

Reply via email to