[Issue 10111] getProtection trait should work with inaccessible fields

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 17 17:35:58 PDT 2013


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


Igor Stepanov <wazar.leollone at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wazar.leollone at yahoo.com


--- Comment #1 from Igor Stepanov <wazar.leollone at yahoo.com> 2013-05-17 17:35:58 PDT ---
is this bug is regression?
You was created an another issue:
http://d.puremagic.com/issues/show_bug.cgi?id=9546
In #9546 same tests was passed.

>static assert(__traits(getProtection, s.privA) == "private");
>static assert(__traits(getProtection, s.protA) == "protected");
>static assert(__traits(getProtection, s.packA) == "package");

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