www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3350] New: Missing error message for bug 2788

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: maxmo pochta.ru



---
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: -------
Sep 29 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3350


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |FIXED


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