[dmd-beta] Time for a new beta?
Jacob Carlborg
doob at me.com
Sun Aug 21 03:19:50 PDT 2011
On 21 aug 2011, at 03:02, Andrew Wiley wrote:
> On Sat, Aug 20, 2011 at 5:02 PM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> On Saturday, August 20, 2011 10:39:22 Rainer Schuetze wrote:
> > 3. I tried to remove some more (currently soft) deprecation messages
> > regarding std.ctype, and it turned out that it was a bit of a hassle to
> > get it to compile because I had to mix both std.ascii and std.uni. This
> > is happening because I'd like to use the isAlpha from std.uni, but there
> > are other functions missing from std.uni (like isDigit, isHexDigit, etc.).
> >
> > I think this was discussed before, but I'm not sure what the conclusion
> > was. I suggest adding some forwarding aliases to std.uni for function
> > that have identical implementation, and ensure that the compiler does
> > not complain about ambiguities if these are just aliases to the same symbol.
>
> All calls to functions in std.ctype should be replaced either with functions
> in std.ascii or functions std.uni. Functions with the identical names do the
> same thing except that those in std.uni operate on unicode, and those in
> std.ascii only operate on ascii (they still work with unicode characters; they
> just ignore them). If you need to use both std.ascii and std.uni, then you
> need to fully qualify them - e.g. std.ascii.isUpper or std.uni.isAlpha - or
> you need to create aliases for them.
>
> On a somewhat related note, I wonder if this pull request could get reviewed in the near future (and hopefully a fix could make it into the next version):
> https://github.com/D-Programming-Language/dmd/pull/190
> (Fixes selective and renamed imports without having to touch overload resolution in the way discussed via email.)
>
> This is probably the single most painful bug in DMD.
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
It would be great if this pull request could be accepted.
--
/Jacob Carlborg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20110821/65eb0541/attachment-0001.html>
More information about the dmd-beta
mailing list