'package' and access from subpackages..
Christian Kamm
kamm-incasoftware at removethis.de
Fri Aug 29 12:19:24 PDT 2008
Jarrett Billingsley wrote:
> If I were able to access package members from superpackages, however, this
> would be easy. It also makes sense -- in the above hierarchy,
> pack1.pack2.a *is in* the package pack1, although indirectly, so it should
> have access to pack1.c's package members.
I agree and from a short look at the sources, it should be an easy change to
access.c:hasPackageAccess.
1) Could this change break any existing code? I don't think so, but am not
entirely sure.
2) If it can't break any code, can we get it applied D1?
Christian
More information about the Digitalmars-d
mailing list