Pacikage level access broken?

Jonathan M Davis jmdavisProg at gmx.com
Sun Apr 22 16:32:25 PDT 2012


On Monday, April 23, 2012 01:21:21 Era Scarecrow wrote:
>   I think I have a misunderstanding of how 'package' is suppose to
> work. How I understand it, you will give access to the directory,
> unlike private which will hide it outside of the same file.

1. Package access is _very_ broken: 
http://d.puremagic.com/issues/show_bug.cgi?id=143

2. I'm not sure that your code is even using package properly. Note that t1 
and t2 arguably don't _have_ a package. They're not pkg.t1 and pkg.t2, they're 
just straight t1 and t2. So, even if package were working properly, I'm not 
sure that t1 and t2 would ever be considered to be in the same package.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list