Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360114 - Assignment operator mistaken for equality operator
Summary: Assignment operator mistaken for equality operator
Status: CLOSED FIXED
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Louis Rose CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 11:41 EDT by James Williams CLA
Modified: 2012-02-06 10:59 EST (History)
3 users (show)

See Also:


Attachments

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