Inconsistency between `AllMembers` and `hasMember`

Stanislav Blinov stanislav.blinov at gmail.com
Sun Nov 18 10:36:11 UTC 2018


On Sunday, 18 November 2018 at 09:10:57 UTC, bauss wrote:
> On Sunday, 18 November 2018 at 02:37:13 UTC, Stanislav Blinov 
> wrote:

>> It's only "hidden" in that there's no symbol to access it...

> But in that case shouldn't you be able to tell whether it has 
> it or not through hasMember?

Yah, a case for inconsistency could be made here. IMHO it should 
just have some reserved name like __context.


More information about the Digitalmars-d-learn mailing list