[Issue 2830] private attribute doesn't work for structs/unions/classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 23 07:51:52 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=2830



--- Comment #9 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-01-23 07:51:48 PST ---
> It's not a spec bug. Private declarations should not be visible outside their
> module.

Do you mean not visible or not accessible? At present, private seems to work
like C++ in that it's _always_ visible but not accessible. It's included in
overload sets too.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list