[Issue 23991] [REG2.087.0] Private top-level overloads are callable if any overload is public

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 19 09:41:37 UTC 2023


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

--- Comment #5 from RazvanN <razvan.nitu1305 at gmail.com> ---
This is just a hypothesis, I haven't checked it but: support for public aliases
to private functions is a half baked feature. I wouldn't be surprised if its
implementation accidentally made this case to work but disabled a proper use
case for the alias to private symbols. Then, maybe the alias problem was solved
and the overload problem returned.

--


More information about the Digitalmars-d-bugs mailing list