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

--- Comment #4 from Nicholas Wilson <iamthewilsona...@hotmail.com> ---
So the real issue is:

struct S
{
    int x;
    void foo() const
    {
        pragma(msg, typeof(x)); // const(int)
    }
}

void test()
{
    void nested() const
    {
        pragma(msg, typeof(x)); // int
    }
}

--

Reply via email to