[Issue 20255] undefined identifier ascii in package std

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 29 10:35:45 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20255

berni44 <bugzilla at d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at d-ecke.de
          Component|phobos                      |installer

--- Comment #2 from berni44 <bugzilla at d-ecke.de> ---
It seems to me, that the Phobos part (*) works and the problem is some
configuration problem outside Phobos. I therefore change the component to
installer.

(*) Small example with the offending code, that works for me:

import std.algorithm.iteration : reduce;
import std.ascii : isAlphaNum;

void main()
{
    string s = "test";
    assert(reduce!((a, b) => a && (b == '_' || b == '-' ||
isAlphaNum(b)))(true, s) == true);
}

--


More information about the Digitalmars-d-bugs mailing list