On Thursday, 6 January 2022 at 16:01:09 UTC, Stefan Koch wrote:
On Thursday, 6 January 2022 at 12:04:12 UTC, HuskyNator wrote:
On Monday, 28 November 2016 at 14:41:44 UTC, Era Scarecrow
wrote:
On Monday, 28 November 2016 at 09:06:34 UTC, Paolo Invernizzi
wrote:
The point is that I was trying to avoid some cycle between
modules, detected by 2.072. This bug leads to pollution in
the use of static this only to workaround the limitation...
Wasn't someone working on a Associative Array static type
that could be created at CTFE and run at runtime?
I'm guessing there isn't.
Sadly still running into issues because of this :(
Actually I did a DMD patch for that some time ago.
It's here: https://github.com/dlang/dmd/pull/13087
If there is interest in this I might revive it.
I feel like this should be done, if only for the sake of
consistency
We can add an idiom about how initializing large AAs can lead to
binary bloat, so use the `shared static this(){}` workaround
instead
Would you please revise it? I'll take your side on this.