Bug 21757 - ast: incorrect range for Name in TypeDeclaration
Summary: ast: incorrect range for Name in TypeDeclaration
Status: VERIFIED FIXED
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.1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-22 09:47 EDT by Adam Kiezun CLA
Modified: 2002-09-20 09:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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