Summary: | [compiler] should improve error highlighting for static initializer errors | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | philippe_mulet |
Version: | 3.2 | ||
Target Milestone: | 3.2 M3 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Olivier Thomann
2005-10-06 13:43:59 EDT
Philippe, Let me know if you want to fix this. I could be done in the same time than bug 111703. Feels like a good change. We should also reduce the scope of other errors as well. Change only in 3.2 stream What other errors are you talking about? Fixed and released in HEAD. Adapted test161 in the NegativeTests and test038 in the AssignmentTest. Other reported problem locations, i.e. only highlight selector for a message send etc... generalizing ProblemReporter#fieldSourceStart --> problemSourceStart(ASTNode) I will open a new bug report for this. This is a more general problem than this specific one for initializer. It should consider source start and source end. Verified for 3.2 M3 using build I20051031-0010 |