[Issue 10528] Private constant (enum) properties not private

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 4 04:42:57 PDT 2013


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


Henning Pohl <henning at still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henning at still-hidden.de
           Severity|major                       |normal


--- Comment #2 from Henning Pohl <henning at still-hidden.de> 2013-07-04 04:42:55 PDT ---
(In reply to comment #1)
> Created an attachment (id=1228) [details]
> Testcase for visibility attribute bug
> 
> A simpler testcase, visibility attribute is completely broken, it could cause
> big troubles...
> 
> tested on 2.063 on Windows XP, could someone test on other platforms ?

In D "private" and "protected" symbols are also accessible in the module they
are declared in. So your test case should compile.

-- 
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