[Issue 9071] sort function won't compile but Range fits describtion

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 25 03:15:55 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9071


monarchdodra at gmail.com changed:

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


--- Comment #1 from monarchdodra at gmail.com 2012-11-25 03:15:54 PST ---
This is actually a problem with "hasSlicing": It is currently being tightened
so that the result of a slice operation *must* be convertible back to the
original type. If this is not the case, then the range will not be considered
sliceable.

Once this is deployed, you will (should) be forwarded to the "correct" overload
of sortImpl: The one that doesn't use slicing.

Still, could you please provide the code example that fails? This will help us
figure out which of the following is the culprit:
* The range?
* The definition of hasSlicing?
* The implementation of sort?
And correctly address the issue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list