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

--- Comment #2 from [email protected] ---
This is probably caused by the forward reference of the destructors.

The non-templated next() instantiates A!C before the semantic of C is done and
before __xdtor is generated. A!C's destructor then instantiates destroy which
omits the dtor call because it's not yet available.

--

Reply via email to