[Issue 23118] UFCS not working for function level templates
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue May 17 11:01:11 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=23118
Dennis <dkorpel at live.nl> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl
           Severity|major                       |enhancement
--- Comment #1 from Dennis <dkorpel at live.nl> ---
This is intentionally disallowed, though it is sometimes requested as an
improvement.
https://dlang.org/spec/function.html#pseudo-member
> Functions declared in a local scope are not found when searching for a matching UFCS function.
--
    
    
More information about the Digitalmars-d-bugs
mailing list