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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 12 01:12:13 UTC 2018


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

--- Comment #5 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> ---
Seb, this is specifically about the error message poorly directing the user to
provide a SortedRange. This was more confusing to me since I hit the issue
after the library change, rather than when initially writing the code.

As I don't know exact changes to improve the error message I'll leave it
closed, but it is a larger issue using templates and type inference which could
be improved.

--


More information about the Digitalmars-d-bugs mailing list