dmd v2.069-devel-5db650f segfaults while compiling this code with -unittest: module persistent_list; import std.experimental.allocator; struct List(T) { private IAllocator allocator; private List!T unqualifiedCopy() const; alias unqualifiedCopy this; } void main() { List!(immutable int) lst; }
Reduced: ---- interface IAllocator {} struct List { IAllocator allocator; List unqualifiedCopy() const; alias unqualifiedCopy this; } ----
https://github.com/D-Programming-Language/dmd/pull/5256
fixed since 2.086