digitalmars.D.learn - Module-level private not honored?
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (10/10) Feb 02 2010 Do I understand module level access rights correctly, or is there a dmd ...
- Lars T. Kyllingstad (4/19) Feb 03 2010 It's a known bug:
Do I understand module level access rights correctly, or is there a dmd bug? Instead of coming up with an example, I will use a Phobos class: std.demangle.MangleException is private in its module; yet I can use it in my program: import std.demangle; void main() { auto me = new MangleException; } Ali
Feb 02 2010
Ali Çehreli wrote:Do I understand module level access rights correctly, or is there a dmd bug? Instead of coming up with an example, I will use a Phobos class: std.demangle.MangleException is private in its module; yet I can use it in my program: import std.demangle; void main() { auto me = new MangleException; } AliIt's a known bug: http://d.puremagic.com/issues/show_bug.cgi?id=2830 -Lars
Feb 03 2010