How to disable assigning a value to a property?

Jack Applegame japplegame at gmail.com
Tue Jul 6 13:27:43 UTC 2021


On Tuesday, 6 July 2021 at 12:33:20 UTC, Adam D Ruppe wrote:
> The language always allows `a = b;` to be rewritten as `a(b);`.

And that's sad. It should happen for properties only.



More information about the Digitalmars-d-learn mailing list