[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:07:52 PDT 2015


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

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
FWIW, you can work around the warning by writing `x.sort().writeln;` (add a
pair of parens).

--


More information about the Digitalmars-d-bugs mailing list