[Issue 22242] ICE when an overload is aliased back into a mixin

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 26 17:26:10 UTC 2021


Paul Backus <snarwin+bugzilla at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |snarwin+bugzilla at gmail.com

--- Comment #1 from Paul Backus <snarwin+bugzilla at gmail.com> ---
The segfault is caused by infinite recursion in dmd.func.overloadApply, which
overflows the stack. Specifically, it is caused by this recursive call:


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


More information about the Digitalmars-d-bugs mailing list