How to fix wrong deprecation message - dmd-2.075.1

Pham via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 16 09:54:04 PDT 2017


On Wednesday, 16 August 2017 at 13:55:31 UTC, Steven 
Schveighoffer wrote:
> On 8/16/17 9:12 AM, Daniel Kozak via Digitalmars-d-learn wrote:
>> It should not be print? AIAIK std.utf.toUTF16 is not 
>> deprecated: http://dlang.org/phobos/std_utf.html#toUTF16
>> 
>> OK this one 
>> is:https://github.com/dlang/phobos/blob/v2.075.1/std/utf.d#L2760 (but this one is not in doc)
>> 
>> but this one should not be deprecated: 
>> https://github.com/dlang/phobos/blob/v2.075.1/std/utf.d#L2777
>> 
>
> Hm.. that's a bug in the compiler. Only one is marked, but both 
> are treated as deprecated.
>
> I'm wondering if just resolving the overload triggers the 
> message.
>
> Please file an issue.
>
> -Steve

Issue 17757 is created



More information about the Digitalmars-d-learn mailing list