https://issues.dlang.org/show_bug.cgi?id=1553
--- Comment #20 from github-bugzi...@puremagic.com ---
Commits pushed to 2.067 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/59dda4abb8a147e59420feb8181824e6d97f2779
Issue 1553 - foreach_reverse
https://issues.dlang.org/show_bug.cgi?id=1553
--- Comment #18 from yebblies yebbl...@gmail.com ---
Pull to make it deprecated:
https://github.com/D-Programming-Language/dmd/pull/3971
--
- foreach_reverse is allowed for delegates
Warning - Deprecation
https://github.com/D-Programming-Language/dmd/commit/2fa5086134542566d4c38b6876865ffbe2b3c4e1
Merge pull request #3971 from yebblies/issue1553d
Issue 1553 - foreach_reverse is allowed for delegates
--
https://d.puremagic.com/issues/show_bug.cgi?id=1553
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Keywords|patch |pull
/c756d9d22f4402088e3fd942a00085a2506649fe
Fix Issue 1553 - foreach_reverse is allowed for delegates
http://d.puremagic.com/issues/show_bug.cgi?id=1553
https://github.com/D-Programming-Language/dmd/commit/2f2aa99f0e555cdf5dfd1f3130e8450a4055f021
Merge pull request #184 from yebblies/issue1553
Issue 1553 - foreach_reverse is allowed
https://d.puremagic.com/issues/show_bug.cgi?id=1553
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=1553
Denis Shelomovskij verylonglogin@gmail.com changed:
What|Removed |Added
Status|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #14 from Yao Gomez yao.go...@gmail.com 2012-02-06 13:05:24 PST ---
*** Issue 6251 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=1553
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
Status|RESOLVED|REOPENED
http://d.puremagic.com/issues/show_bug.cgi?id=1553
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=1553
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #3 from Vladimir Panteleev thecybersha...@gmail.com 2011-07-01
18:29:03 PDT ---
Walter, did you understand the bug report correctly? My 4-year-old explanation
could have been better, but what I meant is that:
foreach (v;
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2011-07-01
18:48:10 PDT ---
Yes, I understood your point. I agree that one could make an error this way. I
disagree that the solution is to remove the feature.
--
Configure
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com 2011-07-01
18:50:16 PDT ---
Why? This is clearly an accepts-invalid bug! What would a better solution be,
anyway? reverse_delegate?
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #6 from Walter Bright bugzi...@digitalmars.com 2011-07-01
19:16:27 PDT ---
The compiler cannot tell what the delegate does, so there's no way it can
diagnose an error.
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #7 from Vladimir Panteleev thecybersha...@gmail.com 2011-07-01
19:18:00 PDT ---
Exactly! We can only assume that all delegates are written for forward
iteration. I am having trouble understanding your problem with disabling
http://d.puremagic.com/issues/show_bug.cgi?id=1553
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #9 from Vladimir Panteleev thecybersha...@gmail.com 2011-07-01
19:38:33 PDT ---
(In reply to comment #8)
But why couldn't a delegate be written for reverse iteration?
So put the semantics in the delegate name, instead of
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #10 from Walter Bright bugzi...@digitalmars.com 2011-07-01
19:39:51 PDT ---
(In reply to comment #8)
But why couldn't a delegate be written for reverse iteration?
Exactly. It can be. Why take this away?
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=1553
--- Comment #11 from Vladimir Panteleev thecybersha...@gmail.com 2011-07-01
19:41:10 PDT ---
(In reply to comment #10)
Exactly. It can be. Why take this away?
You get the same thing by putting the semantic in the delegate name, without
http://d.puremagic.com/issues/show_bug.cgi?id=1553
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Keywords||accepts-invalid, patch
21 matches
Mail list logo