[Issue 2036] Hiding rules too restrictive

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 26 02:35:46 PDT 2008


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





------- Comment #7 from kamm-removethis at incasoftware.de  2008-04-26 04:35 -------
I think the rationale for the warning is the last case described in
http://www.digitalmars.com/d/2.0/hijack.html

Calling the hidden method of Derived via its vtbl did throw an exception for
quite a while, but was recently changed to a compile-time warning. I don't
think it's sensible for this particular case though, since the addition of
foo() can hardly hijack a preexisting call to foo(int).


-- 



More information about the Digitalmars-d-bugs mailing list