https://issues.dlang.org/show_bug.cgi?id=20779
Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11070 "Fix issue 20779: compiler segfaults when struct contains itself" was merged into stable: - cf4c82efdadfc74c1973f66a16254ec886380c20 by Mathis Beer: Fix issue 20779: compiler segfaults when struct contains itself When working with metaprogramming, the error message saying that the struct should not contain itself can get swallowed by gagging. In this case, only the segfault remains, leading to an unsatisfactory user experience. Fix the segfault by breaking the infinite recursion. https://github.com/dlang/dmd/pull/11070 --