Let's just say that I have class "Subclass" which is subclass of class "Parent" and they are defined in 'subclass.h' and 'parent.h' files respectively. funcFromParent - name of the function declared in class "Parent".
Then I'm writing something like:
void f (Subclass &x)
{
x.funcFromParent ();
}
Then in refactor context menu while clicking on `funcFromParent ()` VAX proposes me to include 'parent.h' file which may seem correct on the first glance but in reality since it doesn't know anything about what Subclass is and how to convert it to Parent it's definitely not wanted behavior.
Also I think that VAX should propose include Subclass while pressing on x itself and not on functions called, because it seems more logical to me though maybe it's just a design decision. The first thing I described on the other hand is actually an issue.