[Issue 206] attributes private, package, etc appear to be ignored

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Mon Jun 19 12:49:28 PDT 2006


d-bugmail at puremagic.com wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=206
> 
> 
> someidiot at earthlink.net changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|RESOLVED                    |REOPENED
>          Resolution|DUPLICATE                   |
> 
> 
> 
> 
> ------- Comment #3 from someidiot at earthlink.net  2006-06-19 13:33 -------
> This is *not* a duplicate of #48 -- read the descriptions carefully. #48
> actually has the basic visibility operable and enabled (in march 2006), but
> allows one to step around visibility by fully qualifiying. Since then, the
> basic visibility mechanism has broken down completely.
> 
> 

I based my status change on Derek's code example, and I am *sure* (and I 
think that it should be obvious to anyone) that Derek's example *is* a 
duplicate of bug #48. If Derek's example wasn't what you meant for issue 
#206, then you should clarify. In fact you should have done that in the 
first place.

And no, "visibility" is not the same as "accessibility". In Bug #48 one 
works around "accessibility" (and thus also "visibility") using 
FQ-names. Derek's example does the same, (and he himself explicits that 
it is about accessibility).

Kuehne originally understood your bug in a different way, he thought 
that you were complaining that protection attributes do not affect 
visibility but just accessibility, so he commented that the spec indeed 
states that protection attributes only affect visibility.

-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-bugs mailing list