[Bug 48] Access with Fully-Qualified Names disregards protection attributes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 14 12:56:53 PST 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=48
daiphoenix at lycos.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Acess with Fully-Qualified |Access with Fully-Qualified
|Names disregards protection |Names disregards protection
|attributes |attributes
------- Comment #1 from daiphoenix at lycos.com 2006-03-14 14:56 -------
Actually, the erroneous behaviour of this bug is maybe happening too when using
*partially* qualified names. If so, this would effectively be the same bug as
"Protection Attributes not working for static member entities" such as when
doing:
Foo.privateStaticMethod(); // Compiles ok, incorrect!
which also (incorrectly) compiles ok, altough the following (correctly) doesn't
compile:
(new Foo).privateStaticMethod(); // privateStaticMethod is not accessible
--
More information about the Digitalmars-d-bugs
mailing list