Community
Participate
Working Groups
0917 package p; class B{} class A extends B{ } class Test{ void f(){ A a= new A(); f(a); } void f(B b){ } } try calling IType::resolveType("B") on p.Test you get a nul, which is wrong - p.B should be returned (all these types are declared in one file)
Sounds like our secondary type limitation, even though the main type should be able to find it.
When building the parse tree only the outermost type was considered. Fixed by including all top level types of the cu.
Verified.