Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right?

mw mw at g.c
Wed Jun 26 01:17:01 UTC 2024


On Tuesday, 25 June 2024 at 21:13:44 UTC, Nick Treleaven wrote:

> I think in the next edition of D we can forbid tail mutable 
> initializers.
>

It is still (or maybe only) useful for fields of a singleton 
class.




More information about the Digitalmars-d-learn mailing list