[Issue 1858] std.string find signature is not string

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 21 10:35:24 PST 2008


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





------- Comment #4 from andrei at metalanguage.com  2008-02-21 12:35 -------
Oh I see. This is best solved in the language - a function type F1 should be
implicitly convertible to another function type F2 if all of F1's parameters
are subtypes of the corresponding parameters in F2.

Arrays of const are a subtype of arrays of invariant (and actually this is
another feature that is needed in a number of places), which takes care of the
case in point.

So I hereby assign this to Walter. :o)


-- 



More information about the Digitalmars-d-bugs mailing list