[Issue 4594] itfi fails to detect correct types in the face of differing qualifiers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 2 11:57:52 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4594
Michal Minich <michal.minich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michal.minich at gmail.com
--- Comment #1 from Michal Minich <michal.minich at 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: -------
More information about the Digitalmars-d-bugs
mailing list