Summary: | Cannot extract method if message send is used on lhs of assignment | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | UI | Assignee: | Dirk Baeumer <dirk_baeumer> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: | |||
Bug Depends on: | 14217 | ||
Bug Blocks: |
Description
Jerome Lanneluc
2002-02-26 07:21:48 EST
in fact, the problem is different - modified summary this fails: public class A { A f; public A a() { /*[*/int y= 0; a().f= a();/*[*/ return null; } } as well as this: public class A { A f; public A a() { /*[*/a().f= a();/*[*/ return null; } } The problem is a wrong position in the field reference (doesn't include the method invocation). Waiting for JCore to fix this. Got fixed by JDT/Core. |