[Issue 23907] __traits(child) respects visibility

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 9 11:33:17 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23907

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
> This is consistent with other reflection traits

Which ones? I tried getMember and that doesn't bypass private.

I would argue that this is intended behavior and if the opposite occurs for
other traits then that is the bug.

--


More information about the Digitalmars-d-bugs mailing list