Summary: | AST: String concatenation represented as single node | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | Olivier_Thomann | ||||||
Version: | 3.2 | ||||||||
Target Milestone: | 3.2 M4 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Markus Keller
2005-11-03 09:19:38 EST
The regression test for bug 82830 is still passing, indicating that an infix expression is built for a string concatenation. Do you have more details ? Indeed, using the ASTView in I20051102-1200 produces a single string literal in reconcile mode I will investigate. The path that doesn't work is a BecomeWorkingCopyOperation followed by a reconcile. In this case the string literals are optimized. Created attachment 29274 [details]
Proposed fix
Created attachment 29313 [details]
Regression test
Release proposed fix and regression test in HEAD. Verified for 3.2 M4 using build I20051212-0010 |