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

--- Comment #5 from Max Samukha <[email protected]> ---
I disagree. Implicit constructors should not magically give public assess to
private members. That breaks encapsulation. I bet you wouldn't like it if the
compiler implicitly generated public setters for private fields. Mutating
private fields with an external initializer is analogous to that.

--

Reply via email to