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