Bug 14490 – Deprecate .sort and .reverse properties for arrays

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-04-24T08:57:48Z
Last change time
2018-02-10T14:15:12Z
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2015-04-24T08:57:48Z
Raising Issue for deprecating .sort and .reverse properties for arrays. See: http://dlang.org/deprecate.html#.sort%20and%20.reverse%20properties%20for%20arrays
Comment #1 by ibuclaw — 2015-04-26T10:19:35Z
This became a warning in 2.067, raised PR to update documentation https://github.com/D-Programming-Language/dlang.org/pull/980
Comment #2 by bearophile_hugs — 2015-04-26T10:50:42Z
Is Phobos reverse returning the array? If this is not true, then I think you can't remove the built-in reverse yet.
Comment #3 by ibuclaw — 2018-02-10T14:15:12Z
Gone in 2.075