Cannot understand deprecation message recently added to Phobos

Kapps via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 11 14:06:41 PDT 2014


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


More information about the Digitalmars-d-learn mailing list