Bug 37381 - AST: Wrong source ranges on VariableDeclExpression
Summary: AST: Wrong source ranges on VariableDeclExpression
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-08 08:57 EDT by Martin Aeschlimann CLA
Modified: 2003-06-06 10:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2003-05-08 08:57:49 EDT
20030508

In the code snipped of UnresolvedMethodsQuickFixTest.testMethodInForInit
for (int i= 0, j= goo(3); i < 0; i++) {
}
the VariableDeclationExpression ('int i= 0, j= goo(3)') has only length 8
(should be 19)
Comment 1 Olivier Thomann CLA 2003-05-08 12:27:17 EDT
I will investigate.
Comment 2 Olivier Thomann CLA 2003-05-08 12:48:16 EDT
Reproduced, fixed and released in HEAD.
Regression test added.
Comment 3 Olivier Thomann CLA 2003-05-08 12:50:15 EDT
This could easily be backported to 2.1.1.
Philippe, do you want to backport it?
Comment 4 Philipe Mulet CLA 2003-05-21 11:21:45 EDT
It is getting late for 2.1.1 backporting, and it isn't ranked on the wishlist. 
For now, please don't backport it unless further notice.
Comment 5 David Audel CLA 2003-06-06 10:57:07 EDT
Verified.