https://issues.dlang.org/show_bug.cgi?id=17065
b2.t...@gmx.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.t...@gmx.com --- Comment #3 from b2.t...@gmx.com --- (In reply to dransic from comment #2) > Private members are supposed to be accessible in the module where the type > is declared (module-level encapsulation). > [...] > --- There's a bigger underlying problem. Clearly something is broken by the change but the change doesn't work because Proxy uses __traits() and __traits() has a limitation related to the protection attributes. I don't know if you've followed the NG discussions last months but there's been several topics about this. A semantic change is even planned for the next 6 months (see the recent announce about H1) That being said I don't suggest to wait the semantic change to happen. I just come because this __traits() thing has been a personal concern. --