[Issue 10111] getProtection trait should work with inaccessible fields
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 17 17:42:10 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10111
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-05-17 17:42:10 PDT ---
God what a silly typo:
static if (__traits(getProtection, S.m != "private"))
The parenthesis is wrong, it should be:
static if (__traits(getProtection, S.m) != "private")
--
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