Steven has just this week published a (druntime) binary compatible template implementation of associative arrays, this could be a route towards making this work (without doing too much magic in dmd)
Comment #2 by dlang-bot — 2023-07-28T12:17:52Z
@dkorpel created dlang/dmd pull request #15468 "[POC] Fix 23103 - static initialization of associative arrays is not implemented" fixing this issue:
- Fix 23103 - static initialization of associative arrays is not implemented
https://github.com/dlang/dmd/pull/15468
Comment #3 by dlang-bot — 2023-08-31T13:18:30Z
dlang/dmd pull request #15468 "Fix 23103 - static initialization of associative arrays is not implemented" was merged into master:
- 6c34a3c0b0de16eaf52ccd4b429acd19acbbe3cb by Dennis Korpel:
Fix 23103 - static initialization of associative arrays is not implemented
https://github.com/dlang/dmd/pull/15468