Deprecation message from phobos compiling a vibe.d app.

Martin Tschierschke mt at smartdolphin.de
Thu Jan 30 11:50:12 UTC 2020


When building my small vibe.d app I am getting this messages 
twice:

/usr/include/dmd/phobos/std/range/primitives.d(174,38): 
Deprecation: alias byKeyValue this is deprecated - Iterate over 
.byKeyValue instead.
/usr/include/dmd/phobos/std/range/primitives.d(176,27): 
Deprecation: alias byKeyValue this is deprecated - Iterate over 
.byKeyValue instead.
/usr/include/dmd/phobos/std/range/primitives.d(174,38): 
Deprecation: alias byKeyValue this is deprecated - Iterate over 
.byKeyValue instead.
/usr/include/dmd/phobos/std/range/primitives.d(176,27): 
Deprecation: alias byKeyValue this is deprecated - Iterate over 
.byKeyValue instead.

Unfortunately I don't know what is triggering this and what to do 
about.
The build is working, so it is more a question of elegance.


More information about the Digitalmars-d-learn mailing list