Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360114

Summary: Assignment operator mistaken for equality operator
Product: [Modeling] Epsilon Reporter: James Williams <jamesrobertwilliams>
Component: CoreAssignee: Louis Rose <louis>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: agarcdomi, dkolovos, louis
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description James Williams CLA 2011-10-06 11:41:15 EDT
In the following example, the assignment operator is treated as if it is the equality operator:

if (a > b) c = d;

WORKAROUND: Simple use the old syntax:

if (a > b) c := d;
Comment 1 Louis Rose CLA 2011-10-06 11:46:41 EDT
I can take a look at this.
Comment 2 Dimitris Kolovos CLA 2012-01-09 03:11:56 EST
This has been fixed in 0.9.1