Test case: ``` void main() { typeof(null)[] result; result.length = 1; } ```
Is this really a regression? When did it ever work?
It's seg faulting in __memcpy()_sse2_unaligned called from _d_arraysetlengthiT().
@WalterBright created dlang/druntime pull request #2860 "fix Issue 20364 - [REG2.069] changing length for typeof(null)[] array…" fixing this issue: - fix Issue 20364 - [REG2.069] changing length for typeof(null)[] array seg faults in _d_arraysetlengthiT() https://github.com/dlang/druntime/pull/2860
dlang/druntime pull request #2860 "fix Issue 20364 - [REG2.069] changing length for typeof(null)[] array…" was merged into master: - 8a7f4d4c9b3e4a4f796f6577591725f59c60eda7 by Walter Bright: fix Issue 20364 - [REG2.069] changing length for typeof(null)[] array seg faults in _d_arraysetlengthiT() https://github.com/dlang/druntime/pull/2860