On Tuesday, 13 December 2022 at 11:22:35 UTC, Per Nordlöw wrote:
IRC, the specs says that it's an error to modify a foreach aggregate but the compiler curretly doesn't diagnose it.
I believe it should.
Per Nordlöw via Digitalmars-d-learn Tue, 13 Dec 2022 03:26:01 -0800
On Tuesday, 13 December 2022 at 11:22:35 UTC, Per Nordlöw wrote:
IRC, the specs says that it's an error to modify a foreach aggregate but the compiler curretly doesn't diagnose it.
I believe it should.