Community
Participate
Working Groups
Bugzilla – Bug 355439
[recovery][quick fix] Suggest variable/field assignment fix for unassigned array constructions
Last modified: 2011-11-08 11:21:14 EST
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.
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.