[Issue 9546] getProtection trait does not work with mixin or getMember

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 19 21:12:31 PST 2013


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



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-19 21:12:30 PST ---
An almost working workaround is to use T.init.tupleof[index] to get a member
without triggering access protection errors, however this will not work with
methods since they're not part of .tupleof() (only fields are).

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