[Issue 10378] Prevent local imports from hiding local symbols

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 17 06:18:55 PST 2016


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

--- Comment #28 from timon.gehr at gmx.ch ---
(In reply to hsteoh from comment #25)
> Woohoo! Finally this bug is fixed! Big thanks to Walter for doing this.
> 

It's probably not the best fix though. Now locally imported symbols can still
hide symbols imported in a less deeply nested scope, hence hijacking is still
not prevented. This can also be dangerous when refactoring a large module into
smaller ones.

--


More information about the Digitalmars-d-bugs mailing list