[dmd-beta] dmd 2.049 beta
dsimcha at gmail.com
Wed Sep 15 10:45:18 PDT 2010
Speaking of sortedRange, I think we need to put lowerBound, upperBound and
canFindSorted back in std.algorithm, but make them scheduled for
deprecation. I was actually using these and a bunch of my code broke.
In general, I don't think we need to be anal about backwards compatibility
in Phobos yet, but I think that when things are removed they should always
be scheduled for deprecation for a few releases, then deprecated for a few
releases, never removed without any warning whatsoever.
On Wed, Sep 15, 2010 at 1:31 PM, Rainer Schuetze <r.sagitario at gmx.de> wrote:
> I've hit a bad assertion in the new std.range.SortedRange:
> immutable size_t msb = bsr(this._input.length) + 1;
> assert(msb > 0 && msb < this._input.length);
> fails for length 2.
> Walter Bright wrote:
>> New beta up with your corrections.
>> dmd-beta mailing list
>> dmd-beta at puremagic.com
> dmd-beta mailing list
> dmd-beta at puremagic.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dmd-beta