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

           Summary: [REG 2.063] Struct initialized in constructor is
                    destroyed first
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: c...@benjamin-thaut.de


--- Comment #0 from Benjamin Thaut <c...@benjamin-thaut.de> 2013-10-13 12:01:22 
PDT ---
Created an attachment (id=1263)
repro case

When initializing a struct inside a constructor it is destroyed first.
Initializling a struct within the constructor should be equal to:

auto var = StructType(5);

See attached repro case.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to