Summary: | [AST] invalid source range with recovered node | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> | ||||||
Component: | Core | Assignee: | David Audel <david_audel> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | Olivier_Thomann, philippe_mulet | ||||||
Version: | 3.2 | ||||||||
Target Milestone: | 3.2 RC2 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Martin Aeschlimann
2006-04-10 16:45:36 EDT
The latest changes for bug 129330 were not released for the build you are using. I'll investigate. I tried your test case with 0410 and with HEAD, and I never got wrong positions for the initializer. Can you reproduce all the time? Oh, I used jdt.core HEAD. Created attachment 38261 [details]
screenshot ASTview
This has nothing to do with the latest changes in the recovered nodes. I can reproduce using 0410 where the changes are not included. David, The block doesn't have the same position than the initializer. The initializer's positions are ok, but the block is too short. Created attachment 38785 [details]
Proposed fix
Philippe - Do you want this fix for 3.2RC2 ? +1 for 3.2RC2 Fix released and test added. ASTConverterTestAST3_2#test0645() Now, position of the block is the same as initializer. Verified with I20060427-1600 for 3.2RC2 |