On Tuesday, 9 September 2014 at 17:58:16 UTC, Danyal Zia wrote:
As far as I know, UFCS are designed to make it easy to extend
the class for specific applications, however, without the
ability to use UFCS for those cases, it limits its usefulness.
Are these oversights/bugs? Or is their any rationale behind the
decision to not implement UFCS for them?
Danyal
The reason why local symbols are not considered by UFCS, is to
avoid unexpected name conflicts.
Stated at the very bottom of: http://dlang.org/function.html