[dmd-beta] dmd 2.049 beta

Andrei Alexandrescu andrei at erdani.com
Wed Sep 15 10:56:02 PDT 2010


I agree. Sorry for breaking your code.

Andrei

On 9/15/10 12:45 CDT, David Simcha wrote:
> 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
> <mailto: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 <mailto:dmd-beta at puremagic.com>
>         http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
>
>     _______________________________________________
>     dmd-beta mailing list
>     dmd-beta at puremagic.com <mailto:dmd-beta at puremagic.com>
>     http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
>
>
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta


More information about the dmd-beta mailing list