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





--- Comment #14 from Sobirari Muhomori <ma...@pochta.ru>  2009-07-10 03:23:04 
PDT ---
> The request is for contravariance of parameter types, and this
> will not work in the general case because of function overloading and
> overriding (which rely on exact matching of parameter types). Making it work 
> in
> a specific case is a kludge and will cause all kinds of problems in the 
> future.

Strange. I thought overloading and overriding work in different ways, e.g.
foo(int) and foo(long) can be overloads, but not overrides.

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

Reply via email to