[Issue 10378] Prevent local imports from hiding local symbols

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 18 11:13:45 PST 2016


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

--- Comment #32 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to hsteoh from comment #31)
> So unqualified local imports are still extremely dangerous... :-(

I think we should point out wherever the docs are that say how local imports
work that best practice is to use selective or renamed imports as local imports
to avoid issues.

And then fix Phobos/Druntime to follow those recommendations :)

--


More information about the Digitalmars-d-bugs mailing list