Bug 124296

Summary: Recovered ast nodes don't nest properly
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2006-01-18 10:03:32 EST
HEAD

public class Try {
    private void m() {
        int var= 123
        System.out.println(var);
    }
}

The range of the VariableDeclarationFragment is "var= 12", but the range of its initializer is "123". The VariableDeclarationFragment should have range "var= 123"
Comment 1 David Audel CLA 2006-01-19 05:28:05 EST
Fixed and test add
  ASTConverterRecoveryTest#test0004()
Comment 2 Frederic Fusier CLA 2006-02-15 10:14:18 EST
Verified for 3.2 M5 using build I20060215-0010.