module search paths
    kdevel 
    kdevel at vogtner.de
       
    Sat Apr 16 13:45:17 UTC 2022
    
    
  
On Wednesday, 4 August 2021 at 09:41:45 UTC, Mathias LANG wrote:
[...]
> JSONType used to be named `JSON_TYPE`, and this was changed in 
> v2.082.0. I think GDC-11 is somewhere around v2.076.0 (with a 
> lot of backport for bugs, but no feature / Phobos backport). 
> Since v2.082.0 was released 2018-09-02 (almost 3 years ago), 
> the documentation has long moved.
>
> TL;DR: Use `JSON_TYPE`.
     alias JSONType = JSON_TYPE;
That does not suffice:
     jsr.d:56:12: Fehler: no property »string« for type »JSON_TYPE«
        56 |       case JSONType.string:
           |            ^
> Note that you can quickly get LDC / DMD setup with the install 
> script, or d-apt (https://d-apt.sourceforge.io/).
Will that be corrected in GCC 11.3 or not until GCC 12?
    
    
More information about the Digitalmars-d-learn
mailing list