https://issues.dlang.org/show_bug.cgi?id=22242

Paul Backus <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Paul Backus <[email protected]> ---
The segfault is caused by infinite recursion in dmd.func.overloadApply, which
overflows the stack. Specifically, it is caused by this recursive call:

https://github.com/dlang/dmd/blob/717a966b8c85751390ebc5fbc77302c1d876a0a5/src/dmd/func.d#L2758

...which does not account for the possibility that a FuncAliasDeclaration's
funcalias member may point to itself.

--

Reply via email to