[Issue 1192] broken overridden-function parameter list matching

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 26 21:43:23 PDT 2007


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





------- Comment #6 from thecybershadow at gmail.com  2007-04-26 23:43 -------
Yes, I understand that - but the parameter that varies isn't the one with the
literal at all! My code does something like .toString(x, 16) - I understand
that 16 can't be silently converted to uint, but what's the deal with the first
parameter, which is explicitely a long. Because the second parameter doesn't
exactly match, the compiler gets confused by the presence of two functions with
different types for the first parameter, for which there is an exact match
anyway... argh!


-- 



More information about the Digitalmars-d-bugs mailing list