Summary: | search: incorrect range for type references in brackets | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.1 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 22938 |
Description
Adam Kiezun
2002-09-09 11:26:56 EDT
Parser.consumeCastExpressionLL1() was incorrectly setting the positions of the type reference to the enclosing brackets (+1 and -1). Fixed by not changing the positions of the type reference. Also fixed Parser.consumePrimaryNoNewArray() to not update the positions of the expression. Actually the last change (on Parser.consumePrimaryNoNewArray()) breaks the dom AST in the parenthesis expressin area. Backing out last change and reopening bug. Change pushed down to MatchLocatorParser. Verified. |