[Issue 9381] package access can be abused and worked around

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 23 18:07:48 PST 2013


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



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-23 18:07:47 PST ---
(In reply to comment #0)
> Package should probably be checked on a folder level and not just on a module
> declaration level to make it useful.

Although if a library writer has e.g. 'foo/bar' package split around multiple
directories and is using import switches, then this would break his code.

So this could end up being a stale-mate, unless we re-design access modifiers
altogether (a DIP was already called for by Walter).

-- 
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