Bug 21757

Summary: ast: incorrect range for Name in TypeDeclaration
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-07-22 09:47:10 EDT
2.0
given the cu source (without the '---' lines):
------------------------------
package p;
class A{
}
------------------------------

if you ask for offset and length of the Name 'A' you get
-1 and 0 (respectively)
Comment 1 Olivier Thomann CLA 2002-07-22 10:12:56 EDT
Fixed and released in HEAD.
Comment 2 Philipe Mulet CLA 2002-07-23 06:32:56 EDT
Please also backport to R2_0_1 stream
Comment 3 Olivier Thomann CLA 2002-07-23 10:48:19 EDT
Backported to 2.0.1.
Comment 4 David Audel CLA 2002-08-20 12:04:54 EDT
Verified.
Comment 5 David Audel CLA 2002-09-20 09:31:33 EDT
Verified in 2.1 M1