Bug 5617 - LocalDeclaration.delcationSourceEnd at of range if used in for statememt
Summary: LocalDeclaration.delcationSourceEnd at of range if used in for statememt
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-07 10:53 EST by Dirk Baeumer CLA
Modified: 2003-03-17 11:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2001-11-07 10:53:33 EST
Consider the following code
for (int i= 0; i < 10; i++) {
}

The declarationSourceEnd value for the local declaration i is behind the closing
}
It should be the 0 of int i= 0;
Comment 1 Dirk Baeumer CLA 2001-11-07 11:02:29 EST
Sorry, my fault. Switch end and start.

PR can be closed
Comment 2 Philipe Mulet CLA 2001-11-07 13:44:19 EST
Closing