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

berni44 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
          Component|phobos                      |installer

--- Comment #2 from berni44 <[email protected]> ---
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);
}

--

Reply via email to