Deprecation message from phobos compiling a vibe.d app.

drug drug2004 at bk.ru
Thu Jan 30 13:05:05 UTC 2020


On 1/30/20 2:50 PM, Martin Tschierschke wrote:
> 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.

That's probably triggered by some constraints. I had the issue like this 
with Nullable: https://github.com/dlang/phobos/pull/7324


More information about the Digitalmars-d-learn mailing list