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

Simen Kjaeraas <simen.kja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kja...@gmail.com

--- Comment #2 from Simen Kjaeraas <simen.kja...@gmail.com> ---
Issue example from PR:

struct TypeObj
{
    alias This = typeof(this);

    mixin template MixinTempl()
    {
        int value;
    }
}

ref TypeObj Obj()
{
    static TypeObj a;
    return a;
}

void main()
{
    mixin Obj.This.MixinTempl; // ok
    mixin Obj.MixinTempl;      // error: "MixinTempl!()" is not defined
}

--

Reply via email to