Should protection attributes disambiguate?
Peter Alexander
peter.alexander.au at gmail.com
Mon Jun 20 15:03:37 PDT 2011
I'm working on a fix to http://d.puremagic.com/issues/show_bug.cgi?id=6180
Essentially the problem boils down to:
- Module A has a private symbol named x
- Module B has a public symbol named x
- Module C imports A and B and tries to use x unqualified
Should the fact that B.x is public and A.x is private disambiguate the
usage in module C to use B.x, or is that still an ambiguous unqualified
usage of variable x that requires manual qualification/disambiguation?
More information about the Digitalmars-d
mailing list