[Issue 4936] Better error when type inference fails due to incorrect template parameter type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 11 00:15:39 UTC 2018


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

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |greensunny12 at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #4 from Seb <greensunny12 at gmail.com> ---
This works:

---
import std.stdio, std.algorithm, std.range;
void main() {
   auto foo = ["a the way home", "can I say"];
   auto bar = ["be it here or there", "you may"];

   completeSort(foo.assumeSorted, bar.assumeSorted);
}
---

https://run.dlang.io/is/aeO4fp

> Clearly, no one is using completeSort at all

Yeah if it's open for eight years, that's a very good sign no one uses it...
I'm closing this as it's too old for an regression and assumeSorted works.

--


More information about the Digitalmars-d-bugs mailing list