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


Michal Minich <michal.min...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michal.min...@gmail.com


--- Comment #1 from Michal Minich <michal.min...@gmail.com> 2010-09-02 11:57:33 
PDT ---
simpler test case

void bar(T)(const T x, T y) {}

void main () {
    const int s1;      
    int s2;

    bar!(const int)(s1, s2); // pass ok
    bar!(int)(s1, s2); // pass ok
    bar(s1, s2); // error   
}

Error: template bar(T) does not match any function template declaration

Error: template bar(T) cannot deduce template function from argument types
!()(const(int),int)

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

Reply via email to