Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Project References

On 14-01-15 07:32 PM, Andrew Eidsness wrote:
> On 14-01-15 05:12 PM, Nathan Ridge wrote:
> 
>> Looks like an indexer bug. The difference between a project that refers to
>> other projects and one that doesn't is that in the first case we use Composite
>> bindings and in the second case, PDOM bindings.
> 
> I see, so perhaps it is failing the instanceof check at the start of PDOMCPPMemberBlock:
> 
> private static int getVisibility(PDOMCPPMemberBlock block, IBinding member) throws CoreException {
> 	if (!(member instanceof PDOMNode))
> 		return -1;
> 
> ?
> 
> I'll put a breakpoint there and find out.

I've updated the bug with notes from what I found from that breakpoint.  This looks similar to http://eclip.se/418479,
except that one was dealing with template types and this problem is reproducible without templates.

-Andrew


Back to the top