Summary: | Invalid source range for unresolved qualified type reference | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | CC: | dirk_baeumer, philippe_mulet |
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Markus Keller
2004-07-19 10:21:40 EDT
The proper ID should be: UndefinedTypeOrPackage. When resolving the qualified name, we do not know whether it stands for a package or an enclosing type. We fixed the source range because 'test2' is what we cannot resolve. As Philippe suggested, we can change the name of the problem ID, but I don't see how that changes things. I think we should just leave things as is... now that we highlight the correct thing. I am going to close this unless someone screams loud enough for me to hear it across the Atlantic. In the example, the error message now reads "test2 cannot be resolved to a type". We have adapted the Quick Fix to the change, but the error message is still not fully correct. However, that's a minor problem. I accept that we 'should' change the error message to: 'test2 cannot be resolved to a type or package' Philippe: do we care enough to do this? Not really . |