June 11, 2014 [D-runtime] [D-Programming-Language/druntime] a4675d: Adjust deprecation message on Duration.weeks. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/druntime Commit: a4675d2d15c2b80478e05aca552be65517736684 https://github.com/D-Programming-Language/druntime/commit/a4675d2d15c2b80478e05aca552be65517736684 Author: jmdavis <jmdavisProg@gmx.com> Date: 2014-06-11 (Wed, 11 Jun 2014) Changed paths: M src/core/time.d Log Message: ----------- Adjust deprecation message on Duration.weeks. Apparently, some folks found it confusing, because it just so happens that get!"weeks"() was identical to total!"weeks", since weeks were the largest units. However, it does seem to highlight how folks have misunderstood what the individual getters do (which is why they're being deprecated). Commit: 6b165e4a8ae199c25c1441db62f0c849ff42959d https://github.com/D-Programming-Language/druntime/commit/6b165e4a8ae199c25c1441db62f0c849ff42959d Author: Martin Nowak <code@dawg.eu> Date: 2014-06-12 (Thu, 12 Jun 2014) Changed paths: M src/core/time.d Log Message: ----------- Merge pull request #837 from jmdavis/message Adjust deprecation message on Duration.weeks. Compare: https://github.com/D-Programming-Language/druntime/compare/4e70463aa15e...6b165e4a8ae1 |
Copyright © 1999-2021 by the D Language Foundation