[Issue 4597] std.algorithm.filter fails with a const range
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 26 13:13:57 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=4597
--- Comment #7 from Peter Alexander <peter.alexander.au at gmail.com> 2014-01-26 13:13:52 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > This works now that head-const is removed for arrays.
>
> Could you please point to the related language change? Thanks!
Ok, I've tracked it down:
This commit was technically the first that fixed the bug:
https://github.com/D-Programming-Language/phobos/commit/b597d23f83c957520476b5d90c889d312b1a4ddb
However, in dmd 2.056 the language was changed so that head const was stripped
from array slices so that would have fixed the issue as well.
https://github.com/D-Programming-Language/dmd/pull/236
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list