The compiler won't lie, so perhaps things are not subclassed the way you think they are.

Post a brief example of code that generates that message. It would be useful to see the relevant things...