Thread overview
Array Sort and Reverse Deprecation
May 20, 2017
Lucia Cojocaru
May 20, 2017
Timon Gehr
May 20, 2017
Timon Gehr
May 20, 2017
Seb
May 20, 2017
Hi,

I see array.sort and array.reverse are still in the deprecation phase. Is there any planned date for their removal?

Deprecation: use std.algorithm.sort instead of .sort property
Deprecation: use std.algorithm.reverse instead of .reverse property

Thanks,
Lucia
May 20, 2017
On 20.05.2017 12:52, Lucia Cojocaru wrote:
> Hi,
>
> I see array.sort and array.reverse are still in the deprecation phase.
> Is there any planned date for their removal?
>
> Deprecation: use std.algorithm.sort instead of .sort property
> Deprecation: use std.algorithm.reverse instead of .reverse property
>
> Thanks,
> Lucia

I don't think there is.

There is this PR that turns the deprecation messages into compilation errors: https://github.com/dlang/dmd/pull/6554
May 20, 2017
On 20.05.2017 13:23, Timon Gehr wrote:
> On 20.05.2017 12:52, Lucia Cojocaru wrote:
>> Hi,
>>
>> I see array.sort and array.reverse are still in the deprecation phase.
>> Is there any planned date for their removal?
>>
>> Deprecation: use std.algorithm.sort instead of .sort property
>> Deprecation: use std.algorithm.reverse instead of .reverse property
>>
>> Thanks,
>> Lucia
>
> I don't think there is.

To back that up, there are no dates specified in the relevant documentation:
https://dlang.org/deprecate.html

>
> There is this PR that turns the deprecation messages into compilation
> errors: https://github.com/dlang/dmd/pull/6554

May 20, 2017
On Saturday, 20 May 2017 at 11:23:54 UTC, Timon Gehr wrote:
> There is this PR that turns the deprecation messages into compilation errors: https://github.com/dlang/dmd/pull/6554

If you or anyone wants to help pushing the deprecation phase, please feel to adopt this PR, do the final polishing and get it merged _before_ the 2.075 release ;-)