http://d.puremagic.com/issues/show_bug.cgi?id=7558



--- Comment #2 from Don <clugd...@yahoo.com.au> 2012-02-21 13:29:21 PST ---
void bug7558(string x, int y, double z) {}

void main()
{
   bug7558(4, 2.2);
}   

DMD 1.073 / 2.057:

bug.d(5): Error: function bug.bug7558 (char[],int,double) does not match
paramet
er types (int,double)
bug.d(5): Error: cannot implicitly convert expression (4) of type int to char[]
bug.d(5): Error: cannot implicitly convert expression (2.2) of type double to
in
t
bug.d(5): Error: expected 3 function arguments, not 2


But the second and third errors don't happen in 2.058. Looks like this is a D1
only bug -- a patch that didn't get merged?

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

Reply via email to