Usability of "allMembers and derivedMembers traits now only return visible symbols"
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 4 22:13:16 PDT 2016
On Sunday, 4 September 2016 at 12:51:05 UTC, Andrei Alexandrescu
wrote:
>> See
>> http://forum.dlang.org/post/ymkehalxcigswvltlfjj@forum.dlang.org
>
> There are a few cases I can think of:
The classical ones, but again the question was for introspection
without access (b/c named access through getMember was never
allowed, only .tupleof).
As the trade-offs for allowing access to private members don't
seem that bad, we'll now try to go in the other direction,
skipping visibility checks now and removing the access checks in
a later release.
More information about the Digitalmars-d
mailing list