Bug 34173 - Create a compiler warning when an instance variable is "re-declared" as a local variable.
Summary: Create a compiler warning when an instance variable is "re-declared" as a loc...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 21304 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-07 20:44 EST by Mark Reff CLA
Modified: 2003-06-12 06:41 EDT (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 Mark Reff CLA 2003-03-07 20:44:55 EST
The summary says it all.  I don't "re-declare" instance variables as
local variables often, but when I do, it takes a bit of time to find
it.  This would be a nice warning.
Comment 1 Jerome Lanneluc CLA 2003-03-10 07:56:26 EST
Indeed this would be nice. Will consider post 2.1.
Comment 2 Philipe Mulet CLA 2003-04-02 06:35:43 EST
Reopen
Comment 3 Philipe Mulet CLA 2003-04-02 06:36:33 EST
Added support to latest code (also see bug 21140).
Comment 4 Philipe Mulet CLA 2003-04-02 06:36:53 EST
Fixed
Comment 5 David Audel CLA 2003-06-06 09:30:09 EDT
Verified.
Comment 6 Philipe Mulet CLA 2003-06-12 06:41:13 EDT
*** Bug 21304 has been marked as a duplicate of this bug. ***