[Issue 313] [module] Fully qualified names bypass private imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 16 19:39:47 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=313



--- Comment #11 from dawg at dawgfoto.de 2012-02-16 19:39:43 PST ---
The issue is that all imports are inserted into a global package tree.
Whenever you have access to a root package, e.g. by importing std.stdio,
one can access all 'std' children that were imported with a qualified name.

A possible fix would be to create one package tree (or a view of it) for each
module.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list