[Issue 17290] DMD crash when f.T f(){}

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 1 08:52:28 UTC 2019


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

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com

--- Comment #3 from Basile-z <b2.temp at gmx.com> ---
There's a cycle when trying to solve T. Somewhere the ".inuse" member of the
declaration of function "f" must be incremented and later decremented to detect
the cycle.

Just gotta find the right place, using the backtrace of the ICE, because this
case is tricky. You can fix it at several place but then it breaks the test
suite or even some stuff in druntime.

--


More information about the Digitalmars-d-bugs mailing list