Bug 5617

Summary: LocalDeclaration.delcationSourceEnd at of range if used in for statememt
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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