[Issue 24388] Private overload of public function can be called from other modules

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 12 12:31:21 UTC 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
@Paul, initially, the issue was that you could call the private overload if the
public one was the first in the overload set. Then some "progress" has been
made by getting rid of the order dependency, however, the issue of being able
to call the private overload remains (that is why the issue was reopened). To
me, it looks like the original bug which caused 3254 was not fixed properly,
therefore it makes sense to keep that original one open and mark this one as a
duplicate.

--


More information about the Digitalmars-d-bugs mailing list