I don't understand how something this basic can segfault. ----- shared int[int] aa; void main ( ) { aa = [1:1, 2:2]; } -----
DMD 2.071.1 on both Linux and Win32.
AA is not thread-safe and shouldn't support shared API.
@Basile-z updated dlang/dmd pull request #9366 "fix issue 16597 - deprecate `shared` as associative array storage class" fixing this issue: - fix issue 16597 - deprecate `shared` as associative array storage class https://github.com/dlang/dmd/pull/9366
*** Issue 14068 has been marked as a duplicate of this issue. ***