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

--- Comment #5 from Steven Schveighoffer <[email protected]> ---
(In reply to Jonathan M Davis from comment #4)

> If a member function has a different signature than the free function, then
> it's not intended as a replacement for the free function, and it shouldn't
> be conflicting with the free function at all.

No, it's not a bug. Lookup rules work on overload sets, not on individual
functions. If you define a ufcs method that overloads with a straight method,
you cannot call the ufcs method, this is intended.

--

Reply via email to