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

Bolpat <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Bolpat <[email protected]> ---
At some point, the spec got refined to:
> A free function can be called like a member function when both:
> 
>   • The member function does not (or cannot) exist for the object expression
>   • The free function's first parameter type matches the object expression

This explains well that the mere existence of an eponymous member makes UFCS
for that name not work.

--

Reply via email to