Cannot understand deprecation message recently added to Phobos

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 12 07:24:57 PDT 2014


On Wed, 11 Jun 2014 17:06:41 -0400, Kapps <opantm2+spam at gmail.com> wrote:

> On Wednesday, 11 June 2014 at 20:59:25 UTC, Nordlöw wrote:
>> Can somebody explain the meaning of split in the error message
>>
>> Deprecation: function core.time.Duration.weeks is deprecated - Please  
>> use split instead. weeks was too frequently confused for total!"weeks".
>>
>> given by function
>>
>> shortDurationString()
>>
>> at
>>
>> https://github.com/nordlow/justd/blob/master/pprint.d
>
> https://github.com/D-Programming-Language/druntime/pull/825

Now fixed, is the message clearer for you?

https://github.com/D-Programming-Language/druntime/pull/837

-Steve


More information about the Digitalmars-d-learn mailing list