Bug 14217 - DOM/AST: wrong start position for expression statement
Summary: DOM/AST: wrong start position for expression statement
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows ME
: P3 major (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 10245
  Show dependency tree
 
Reported: 2002-04-19 09:11 EDT by Dirk Baeumer CLA
Modified: 2002-04-19 12:46 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 Dirk Baeumer CLA 2002-04-19 09:11:09 EDT
Build 20020418

Example:

public class A {
	A f;
	public A a() {
		a().f= a();
		return null;
	}
}


The start position of the expression statement a().f= a() is 48 but should be 
44. Note that the start position of LHS of the assignment is correct (e.g 44).
Comment 1 Olivier Thomann CLA 2002-04-19 12:12:14 EDT
Should be fixed for next integration build.
Comment 2 Olivier Thomann CLA 2002-04-19 12:46:02 EDT
Fixed and released in HEAD.