Module-level accessibility

bearophile bearophileHUGS at lycos.com
Sun Oct 3 07:58:07 PDT 2010


Sergey:

> With a great surprise, I have discovered that from another module it is  
> still possible to access both x1 and C1, though fnc1() is inaccessible !
> Can anyone explain me what does it mean ?

If what you have written is true, and it's easy to test it, then it just means there's another hole (== bug) in the D module system, that needs to be fixed :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list