[Issue 7958] Uniform Function Call fails if class defined inside a function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 16 11:19:43 UTC 2022


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |INVALID

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
This bug report is not valid as per the spec [1] (point 7): "Functions declared
in a local scope are not found when searching for a matching UFCS function.
Neither are other local symbols, although local imports are searched."

[1] https://dlang.org/spec/function.html#pseudo-member

--


More information about the Digitalmars-d-bugs mailing list