Bug 86899 - [dom] AST from reconciler collapses "+"-concatenated StringLiterals into one
Summary: [dom] AST from reconciler collapses "+"-concatenated StringLiterals into one
Status: RESOLVED DUPLICATE of bug 82830
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 07:18 EST by Markus Keller CLA
Modified: 2005-03-01 18:15 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***