Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361843 - "+" operator is should NOT be treated as a concatenate operation for Arrays
Summary: "+" operator is should NOT be treated as a concatenate operation for Arrays
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-24 14:10 EDT by Paul Harmon CLA
Modified: 2017-02-23 14:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Harmon CLA 2011-10-24 14:10:47 EDT
In RBD, the "+" operator could be used synonymously with the "::" operator, in regards to Arrays. This should not be treated like this in EDT.

The "+" operator should only be valid in EDT if the LHS or RHS of the binary expression is a text (string) type. In this case, the expression should be treated like a simple string concatenation.

The "+" Operations defined in EList should be removed.
Comment 1 Paul Harmon CLA 2011-11-07 14:04:16 EST
I have updated validation and EList.egl to remove these concatenation operators for arrays.
Comment 2 Paul Harmon CLA 2011-11-18 09:22:10 EST
fantastic, great job!