Bug 4293 - extract method: compile errors after (1GKZAPU)
Summary: extract method: compile errors after (1GKZAPU)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dirk Baeumer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 5235 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 23:09 EDT by Dirk Baeumer CLA
Modified: 2002-02-08 03:36 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2001-10-10 23:09:17 EDT
AK (10/2/2001 6:58:43 PM)
	package p;
class A{
	int f;
	int m(int g){
		/*[*/if (false)
			g= f; /*]*/
		return g;
	}
}

select and extract.
compile errors show up.

NOTES:
Comment 1 Dirk Baeumer CLA 2001-10-26 04:23:49 EDT
*** Bug 5235 has been marked as a duplicate of this bug. ***
Comment 2 Dirk Baeumer CLA 2001-11-09 06:32:23 EST
Incorrect computation of input and return value.

Fixed in build > 20011107