Summary: | Organizing imports doesn't pick up the right type | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Olivier Thomann
2002-05-10 12:01:00 EDT
When looking at qualified names like 'p1.A.foo()', only the very first qulifier ('p1') is examined (and imported if it's a type binding) The problem here is that when asking the SimpleName node p1 for it's binding the type binding of p1.A is return. This is a bug, no? I was thinking it should return a package binding. Fix and released in HEAD. |