[Issue 4597] std.algorithm.filter fails with a const range
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 26 12:14:08 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=4597
--- Comment #6 from Peter Alexander <peter.alexander.au at gmail.com> 2014-01-26 12:14:00 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!
I've determined that it was fixed in 2.050 and there's this on the change log:
http://dlang.org/changelog.html#new2_050
"std.traits: Most higher-order ranges now work with const/immutable arrays and
other ranges with a natural tail const, and ranges w/ const/immutable
elements."
Unfortunately this was before we used git, so I can't find any pull requests.
--
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