http://d.puremagic.com/issues/show_bug.cgi?id=10886


Andrej Mitrovic <[email protected]> changed:

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


--- Comment #2 from Andrej Mitrovic <[email protected]> 2013-08-24 
14:41:46 PDT ---
It's unrelated to templates:

-----
struct A
{
    @property int foo() { return 0; }
    int bar() { return 0; }
}

struct B
{
    void bar()
    {
        alias f = typeof(A.foo);  // NG
        alias b = typeof(A.bar);  // ok
    }
}

void main()
{
}
-----

AFAIK there are/will be changes to how typeof() works with properties as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to