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)
{
}
--
- 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
--
https://issues.dlang.org/show_bug.cgi?id=8269
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Keywords||pull
https://issues.dlang.org/show_bug.cgi?id=8269
Damian damian...@hotmail.co.uk changed:
What|Removed |Added
CC||damian...@hotmail.co.uk
---
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
https://issues.dlang.org/show_bug.cgi?id=8269
Orvid King blah38...@gmail.com changed:
What|Removed |Added
CC||blah38...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=8269
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Keywords||bounty
--- Comment
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
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).
--
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
https://issues.dlang.org/show_bug.cgi?id=8269
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Keywords|preapproved |
CC|
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?
--
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,
https://issues.dlang.org/show_bug.cgi?id=8269
Denis Shelomovskij verylonglogin@gmail.com changed:
What|Removed |Added
Keywords||wrong-code
http://d.puremagic.com/issues/show_bug.cgi?id=8269
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
CC||thecybersha...@gmail.com
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)
{
http://d.puremagic.com/issues/show_bug.cgi?id=8269
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=8269
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=8269
Ali Cehreli acehr...@yahoo.com changed:
What|Removed |Added
Priority|P2 |P3
--
Configure
19 matches
Mail list logo