[Issue 16107] [ICE] - Internal error: backend/cgcod.c 2297

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 31 21:37:51 PDT 2016


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

--- Comment #1 from b2.temp at gmx.com ---
definition of Foo can be reduced to

class Foo
{
    alias TreeItemType = typeof(this);

    TreeItemSiblings!TreeItemType _siblings;    // remove this decl
    TreeItemChildren!TreeItemType _children;    // or this one      : OK
} 

The content was initially a mixin template, which explains why it was
incoherant...anyway still the ICE.

--


More information about the Digitalmars-d-bugs mailing list