Cannot understand deprecation message recently added to Phobos

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 11 13:59:24 PDT 2014


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


More information about the Digitalmars-d-learn mailing list