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: nob...@puremagic.com
        ReportedBy: ma...@pochta.ru


--- Comment #0 from Sobirari Muhomori <ma...@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: -------

Reply via email to