[Issue 1517] (D1 only) .sort for structs behaves badly with ref opCmp

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 31 06:52:21 PDT 2014


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

yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com
           Hardware|x86                         |All
            Summary|.sort for structs behaves   |(D1 only) .sort for structs
                   |badly with ref opCmp        |behaves badly with ref
                   |                            |opCmp
                 OS|Windows                     |All

--- Comment #3 from yebblies <yebblies at gmail.com> ---
I get

object.Error@(0): TypeInfo.compare is not implemented

On recent dmd (2.067 HEAD), and given that builtin .sort is going away this is
WONTFIX for D2.

--


More information about the Digitalmars-d-bugs mailing list