Phobos' std.conv.text functions
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Mon Aug 31 08:35:22 PDT 2015
On Mon, Aug 31, 2015 at 03:15:07PM +0000, via Digitalmars-d wrote:
> I have been bitten by the std.conv.text family of functions twice now
> and while it's not a major issue, I think it still an issue that is
> worth fixing and perhaps prevent similar issues in the future.
>
> First time I got bitten was because of local imports shadowing local
> symbols without error or at least a warning.
>
> auto stuff(string text) {
> import std.conv;
>
> foreach(ch; text.byDchar) {
> }
> }
https://issues.dlang.org/show_bug.cgi?id=10378
Kenji has a pull for this, let's hope it goes through.
T
--
English is useful because it is a mess. Since English is a mess, it maps well onto the problem space, which is also a mess, which we call reality. Similarly, Perl was designed to be a mess, though in the nicest of all possible ways. -- Larry Wall
More information about the Digitalmars-d
mailing list