[Issue 17065] [REG2.072] Unique does not work with private members

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jan 7 13:42:22 PST 2017


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

--- Comment #1 from greenify <greeenify at gmail.com> ---
> If this behaviour is intended, the doc should state it.

This should definitely have gotten a proper changelog entry (and deprecation
warning).
However, I am not really convinced that it should be noted in the documentation
that access to private member variables isn't supported as this is the way
visibility is supposed to work in D. Did anything lead you to this assumption
or was it just by chance that accessing `private` variables worked and you
didn't realize until the hole was fixed?

--


More information about the Digitalmars-d-bugs mailing list