Summary: | Syntax error for annotation in 1.4 has unknown source range | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M3 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Markus Keller
2004-09-24 07:01:56 EDT
FYI: I filed bug 74939 for the missing error annotation when the problem of this PR occurs. This will be done post M2. We tag the declaration. So the modifiers would be included. The bug comes from the fact that the modifiersSourceStart is used for the problem positions. The bug is similar for enum declarations without modifiers. I have a patch that underlines only the type name In your example, "Ann". This would be good enough. Yeah, that's fine too. It's just the -1 that is unfortunate. This is a minor problem anyway. So it will be fixed for M3. The fix is ready, but it is too late for M2. Sure it's minor and not urgent - see the Severity field ;-) Fixed and released in HEAD. Regression tests updated. Verified for 3.1M3 with build I20041101. |