[phobos] Time to get ready for the next release

Torarin torarind at gmail.com
Thu Apr 21 03:48:26 PDT 2011


2011/4/21 Don Clugston <dclugston at googlemail.com>:
> It's now been two months since the last release, and there have been
> huge compiler improvements.
> Note also that there were a couple of very bad regressions in 2.052,
> so I think we really need a release ASAP.
> We've now achieved minimal stability again (all green on the auto-tester).
>
> Here's the things which are blockers for the next release:
>
> From the compiler side:
> * struct destruction of temporaries (seems like we have a chance of
> fixing this soon)
> * fixing the regressions from my CTFE/const folding changes (Fixes are
> here: https://github.com/D-Programming-Language/dmd/pull/37).
> * a few things haven't been backported to D1 yet
> druntime:
> * clean up Windows DLL support
> phobos:
> * nothing that I know of
>
> Looks as though will be time to get std.parallelism in. But otherwise,
> if you have anything you'd like to get into the next release, please
> indicate so now.
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>

Dmd has a bug that causes the @property attribute to be disregarded in
functions that return auto. Commit
https://github.com/D-Programming-Language/phobos/commit/1083bd4e7b4ef0475084d7eab2e67c65e511c3d4
introduced a definition of length in iota as

@property auto length()

which makes hasLength!iota(10) return false. (hasLength!iota(0, 10, 1)
returns true because its overload uses size_t). I suggest changing the
return type to Unsigned!Value if fixing the dmd behavior is
non-trivial.

I've also made a pull request for phobos that fixes a bug in
std.algorithn.equal which causes equal("æøå", "æøå") to return false.

Torarin


More information about the phobos mailing list