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

[email protected] changed:

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

--- Comment #2 from [email protected] ---
More detail:

The following works:
------------------------
//testa.d

module testa.d;

void func(alias a)()
{
}

class A
{
    int i;
    void all()
    {
        func!(i)();
    }
}
---------------------

The following fails:
---------------------
//testa.d

module testa.d;

void func(alias a)()
{
}

class A
{
    int i;
    void all()()
    {
        func!(i)();
    }
}

Note the addition of an empty compile-time parameter list

--

Reply via email to