[Issue 12583] Allow user defined "retro" range
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Fri Apr 18 06:17:03 PDT 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=12583
--- Comment #5 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list