[Issue 7558] Useless 'cannot implicitly convert' errors when number of function arguments is wrong

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 29 18:03:22 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=7558

hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hsteoh at quickfur.ath.cx
         Resolution|---                         |WORKSFORME

--- Comment #3 from hsteoh at quickfur.ath.cx ---
Seems to have been fixed in git HEAD:
-----
$ cat test.d
void bug7558(string x, int y, double z) {}

void main()
{
   bug7558(4, 2.2);
}   
$ dmd test.d
test.d(5): Error: function test.bug7558 (string x, int y, double z) is not
callable using argument types (int, double)
$ 
-----
No extraneous errors were given.

--


More information about the Digitalmars-d-bugs mailing list