[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-08-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #16 from yebblies yebbl...@gmail.com --- (In reply to Orvid King from comment #15) What does it do about postblits in this case? The same thing that happens with auto tmp = someRvalue(); with(tmp) { } --

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-08-10 Thread via Digitalmars-d-bugs
- The 'with statement' does not observe temporary object lifetime https://github.com/D-Programming-Language/dmd/commit/839f2e1bc929ba3055c4d64c022a5f98fa7225c5 Merge pull request #3855 from yebblies/issue8269 Issue 8269 - The 'with statement' does not observe temporary object lifetime --

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 Damian damian...@hotmail.co.uk changed: What|Removed |Added CC||damian...@hotmail.co.uk ---

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #14 from yebblies yebbl...@gmail.com --- (In reply to Damian from comment #13) Why would the with statement be creating a temporary in the first place? It seems terribly inefficient, surely it can just alias the original object and be

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 Orvid King blah38...@gmail.com changed: What|Removed |Added CC||blah38...@gmail.com ---

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-08-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Keywords||bounty --- Comment

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-08-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #11 from Orvid King blah38...@gmail.com --- I would suspect that this is likely because of how the with statement currently expands itself, although it's certainly possible that it's e2ir (though I don't think it actually is present at

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #8 from Andrei Alexandrescu and...@erdani.com --- I see - fine. I was hoping to boost its visibility :o). --

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #9 from yebblies yebbl...@gmail.com --- (In reply to Andrei Alexandrescu from comment #8) I see - fine. I was hoping to boost its visibility :o). I can't speak for the other dmd contributors, but I never look at the preapproved list. I

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords|preapproved | CC|

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #6 from Andrei Alexandrescu and...@erdani.com --- @yebblies: why did you remove the preapproved tag? --

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #7 from yebblies yebbl...@gmail.com --- (In reply to Andrei Alexandrescu from comment #6) @yebblies: why did you remove the preapproved tag? I don't see the point of it on a wrong code bug. Either the bug is valid and it will be fixed,

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Keywords||wrong-code

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2013-10-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8269 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||thecybersha...@gmail.com

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2013-03-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8269 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-03-23 05:18:18 PDT --- (In reply to comment #0) The spec at http://dlang.org/statement.html#WithStatement says: quote The WithStatement with (expression) {

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2013-02-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8269 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8269] The 'with' statement does not observe temporary object lifetime

2013-02-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8269 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8269] The 'with' statement does not observe temporary object lifetime

2012-06-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8269 Ali Cehreli acehr...@yahoo.com changed: What|Removed |Added Priority|P2 |P3 -- Configure