[Issue 6194] [GSoC] Destructor gets called on object before it is copied when calling writeln()

2011-07-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6194 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6194] [GSoC] Destructor gets called on object before it is copied when calling writeln()

2011-07-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6194 --- Comment #4 from Cristi Cobzarenco cristi.cobzare...@gmail.com 2011-07-19 06:24:20 PDT --- Here's a pull request with my fix. https://github.com/D-Programming-Language/phobos/pull/151 -- Configure issuemail:

[Issue 6194] [GSoC] Destructor gets called on object before it is copied when calling writeln()

2011-06-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6194 --- Comment #3 from Cristi Cobzarenco cristi.cobzare...@gmail.com 2011-06-24 04:23:28 PDT --- (In reply to comment #2) I'm not sure if it's a bug in DMD or Phobos. I'm inclined to it's Phobos bug. The loop variable 'a' in the reduced

[Issue 6194] [GSoC] Destructor gets called on object before it is copied when calling writeln()

2011-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6194 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com --- Comment #1

[Issue 6194] [GSoC] Destructor gets called on object before it is copied when calling writeln()

2011-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6194 --- Comment #2 from kenn...@gmail.com 2011-06-22 10:33:34 PDT --- I'm not sure if it's a bug in DMD or Phobos. I'm inclined to it's Phobos bug. The loop variable 'a' in the reduced 'formattedWrite' is obviously escaping its scope, so calling