Issue 10007 - function overrides but is not covariant

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