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


Trass3r <mrmoc...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


--- Comment #2 from Trass3r <mrmoc...@gmx.de> 2010-05-21 05:12:20 PDT ---
class Foo(T)
{
    void bar(auto ref T item)
    {
    }
}

void main()
{
    Foo!(int) f;
}

gives

test.d(3): Error: auto can only be used for template function parameters

Hmm ok, maybe it rather is an enhancement.

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

Reply via email to