[Issue 14841] Don't warn on myArray.sort when it makes no difference

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 31 23:31:05 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14841

Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com

--- Comment #2 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---
> Why then do we nag users about this when the code is functionally correct and robust even if/when we remove the .sort property from the language?

Because built-in sort is broken junk? There is good reason to get rid of that
built-in and nagging message makes sure nobody would use that thing by
accident.

--


More information about the Digitalmars-d-bugs mailing list