[Issue 14217] Misleading error message: Cannot deduce function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 23 13:52:38 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=14217
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
Component|dmd |phobos
--- Comment #1 from Nick Treleaven <nick at geany.org> ---
Like Issue 13683, this is caused by canFind's template constraint rather than
dmd. It could be changed to use a static assert, so that the error mentions
that the lambda can't take an A.
--
More information about the Digitalmars-d-bugs
mailing list