This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 226600 - Create local variable fix not proposed
Summary: Create local variable fix not proposed
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-24 07:57 UTC by Jan Lahoda
Modified: 2013-02-26 17:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2013-02-24 07:57:42 UTC
[build from recent sources]

The Create Local Variable fix is not proposed for code like this:
public class Test {
    private void t() {
        undefined = 0;
    }
}
Comment 1 Quality Engineering 2013-02-26 05:23:51 UTC
Integrated into 'main-golden', will be available in build *201302252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/59981ad0f4d5
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #226600: need to attribute right hand side of an assignment with meaningfull types when the left side is undefined.