Bug 86899

Summary: [dom] AST from reconciler collapses "+"-concatenated StringLiterals into one
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: martinae
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2005-03-01 07:18:41 EST
HEAD (already in 3.1M5a)

The AST we get from the reconciler collapses '+'-concatenated StringLiterals
into a single StringLiteral. The AST from ASTParser correctly returns an
InfixExpression with StringLiterals as children.

To reproduce:
Look at this declaration with ASTView 1.0.4 and toggle "view menu > Use Reconciler":
    String x= "Hello" + " World.";

This is a problem for e.g. "Edit > Expand Selection To > ..." and for
QuickAssists such as "Pick out selected part of String".
Comment 1 Jerome Lanneluc CLA 2005-03-01 18:15:23 EST

*** This bug has been marked as a duplicate of 82830 ***