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

ag0ae...@gmail.com changed:

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

--- Comment #1 from ag0ae...@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.

--

Reply via email to