[Issue 3350] New: Missing error message for bug 2788
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 29 02:19:49 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3350
Summary: Missing error message for bug 2788
Product: D
Version: 2.032
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: diagnostic
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: maxmo at pochta.ru
--- Comment #0 from Sobirari Muhomori <maxmo at pochta.ru> 2009-09-29 02:19:48 PDT ---
The error message "function is not callable using argument types" appears for
normal functions, but doesn't appear for templated functions.
----
int gun()
{
return 0;
}
void fun()
{
pun(gun()); //no diagnostic for pun not callable
sun(gun()); //function tmp.sun (ref const const(int) a) is not callable
using argument types (int)
}
void pun(T)(const ref T a)
{
}
void sun(const ref int a)
{
}
---
--
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