[Issue 16188] [REG2.069] ICE on invalid code

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 21 11:27:38 PDT 2016


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g at gmail.com
            Summary|ICE on invalid code         |[REG2.069] ICE on invalid
                   |                            |code

--- Comment #1 from ag0aep6g at gmail.com ---
Reduced further:

----
void where() { Where().name; }

struct Where
{
    void opDispatch(string name)()
    {
        alias FieldType = typeof(getMember);
        WhereField!FieldType;
    }
}

struct WhereField(FieldType) {}
----

Doesn't segfault with 2.068.2 and earlier.

--


More information about the Digitalmars-d-bugs mailing list