Bug 10933 - DOM/AST: position of AnonymousTypeDeclaration is [-1,0]
Summary: DOM/AST: position of AnonymousTypeDeclaration is [-1,0]
Status: RESOLVED DUPLICATE of bug 10781
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 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-07 05:42 EST by Dirk Baeumer CLA
Modified: 2002-03-13 11:26 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 2002-03-07 05:42:33 EST
Build 20020305

For the code

package nested_in;

public class A_test651 {
	public void foo() {
		Runnable run= new Runnable() {
			public void run() {
				/*]*/foo();/*[*/
			}
		};
	}
}

the position of the anonymous type declaration is [-1, 0]. IMO the start 
position should be the { and the end position the }
Comment 1 Olivier Thomann CLA 2002-03-07 11:49:53 EST
Already fixed in latest. This is a duplicate of 10781.

*** This bug has been marked as a duplicate of 10781 ***