[Issue 463] [module] private module members have global bindings instead of local ones

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 28 07:16:40 UTC 2019


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

--- Comment #4 from anonymous4 <dfj1esp02 at sneakemail.com> ---
AIU in C local symbols are used to declare functions with the same name in
different modules - private functions. They shouldn't override each other and
both should be called by their respective modules.
They have a pitfall when a public function is inlined and ends up calling
private function from a different module, linker rejects such reference to
local symbol from a different module.

--


More information about the Digitalmars-d-bugs mailing list