Thread overview
[Issue 20255] undefined identifier ascii in package std
Sep 30, 2019
Mike Pryadko
Sep 30, 2019
Mike Pryadko
Dec 29, 2019
berni44
Dec 29, 2019
berni44
Apr 08, 2020
Mathias LANG
September 30, 2019
https://issues.dlang.org/show_bug.cgi?id=20255

Mike Pryadko <mike.pryadko@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |mike.pryadko@gmail.com

--
September 30, 2019
https://issues.dlang.org/show_bug.cgi?id=20255

--- Comment #1 from Mike Pryadko <mike.pryadko@gmail.com> ---
P.S. my software versions:
~$ dmd --version
DMD64 D Compiler v2.088.0
Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
written by Walter Bright
~$ dub --version
DUB version 1.17.0, built on Sep  1 2019

--
December 29, 2019
https://issues.dlang.org/show_bug.cgi?id=20255

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

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

--- Comment #2 from berni44 <bugzilla@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);
}

--
December 29, 2019
https://issues.dlang.org/show_bug.cgi?id=20255

--- Comment #3 from berni44 <bugzilla@d-ecke.de> ---
Maybe this is a Dlangide bug which is allready fixed? [1]

The strange thing is, that the fix happend before the issue was reported and according to the attached log the version of Dlangide is one, where the issue was allready fixed.

[1] https://github.com/buggins/dlangide/issues/398

--
April 08, 2020
https://issues.dlang.org/show_bug.cgi?id=20255

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang@gmail.com
           Hardware|x86_64                      |All
         Resolution|---                         |INVALID
                 OS|Linux                       |All
           Severity|critical                    |normal

--- Comment #4 from Mathias LANG <pro.mathias.lang@gmail.com> ---
As berni mentioned, this is an issue with dlangide and its dependency not
compiling with an up-to-date DMD/Phobos.
I do think there's a point where compatibility was broken in Phobos, which is
unfortunate, but not related to installer.

I took at look at https://github.com/buggins/dlangide/issues/398 and saw what I could do, unfortunately the maintainer didn't seem to be very active recently. I have pinged him on a relevant PR, let's see if it gets things moving again. Closing as invalid because there's nothing for us to do.

--