[Issue 2357] compiler fails to choose an overload

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 11 17:41:52 PDT 2008


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


svv1999 at hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from svv1999 at hotmail.com  2008-09-11 19:41 -------
Compiler acts according to the specs.

On the second actual parameter both functions formal parameters match by
implicit casting. This makes them belong to the same match priority.

The fact that the first formal parameter of one function matches exact, is
irrelevant. 


-- 



More information about the Digitalmars-d-bugs mailing list