| Summary: | [recovery][quick fix] Suggest variable/field assignment fix for unassigned array constructions | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Remy Suen <remy.suen> |
| Component: | Core | Assignee: | Ayushman Jain <amj87.iitr> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | amj87.iitr, daniel_megert, deepakazad, markus.kell.r, raksha.vasisht |
| Version: | 3.8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
Problem is that there is a parser error and there is no recovered statement in the AST for the array creation. This is what I see in ASTView for the method body of Test. Block [50, 75] (recovered) STATEMENTS (0) Moving to JDT/Core. Will see what can be done, time permitting. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
I20110809-0800 public class Test { public Test(int nodesCount){ new int[nodesCount]; } } I should get a suggestion for creating a new local variable or a field in this class.