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

Rainer Schuetze <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Rainer Schuetze <[email protected]> ---
Here's another example of a crash at the same location reduced by dustmite:

struct Tuple9709(T...)
{
    alias T expand;
    alias expand this;
}

auto data = RTInfoImpl2!(Tuple9709!1);

template RTInfoImpl2(T)
{
    static if (is(T D == U))
        immutable(RTInfoData) RTInfoImpl2 ;
}

[this is also triggered by some RTInfo compiled with the dmd test suite.]

There are some code locations that check the pointer returned by aliasthisOf(),
some do not. Should these be added in the places where the checks are missing?

--

Reply via email to