[Issue 11246] [REG 2.063] Struct initialized in constructor is destroyed first

2013-10-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11246



--- Comment #1 from Benjamin Thaut  2013-10-13 12:16:07 
PDT ---
To be more percise in dmd 2.062 and earlier the repro case would print

ctor 5
dtor

Starting with dmd 2.063 this prints

ctor
dtor
dtor

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


[Issue 11246] [REG 2.063] Struct initialized in constructor is destroyed first

2013-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11246


Kenji Hara  changed:

   What|Removed |Added

   Keywords||pull, wrong-code


--- Comment #2 from Kenji Hara  2013-10-14 06:33:43 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2665

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


[Issue 11246] [REG 2.063] Struct initialized in constructor is destroyed first

2013-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11246


Walter Bright  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


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


[Issue 11246] [REG 2.063] Struct initialized in constructor is destroyed first

2013-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11246



--- Comment #3 from github-bugzi...@puremagic.com 2013-10-14 20:51:25 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4a8ce87381a0bc0595b718681cdae5d7bc97f3cb
fix Issue 11246 - [REG 2.063] Struct initialized in constructor is destroyed
first

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