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

yebblies <yebbl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebbl...@gmail.com

--- Comment #1 from yebblies <yebbl...@gmail.com> ---
I'm not really sure if this is a bug, or just an unpleasant side effect of the
way overloading is worked out.

IIRC the worst conversion out of all the args is taken as the match level for
each function, and for both of those overloads the C -> I conversion is the
worst, so they have the same match level and are ambiguous.  It might be
possible to tweak the match levels to fix this, I don't know.

There are probably other similar cases with other conversions that have the
same match level as C -> I.

--

Reply via email to