Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358233 - enumeration compare doesn't generate the correct code
Summary: enumeration compare doesn't generate the correct code
Status: CLOSED DUPLICATE of bug 358102
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 08:39 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:18 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 Joseph Vincens CLA 2011-09-20 08:39:30 EDT
using the following EGL
		e1 ServiceType = ServiceType.EglDedicated;
		if(e1 == ServiceType.EglDedicated)
			syslib.writeStdout("e1 == ServiceType.EglDedicated");
		else
			syslib.writeStdout("e1 != ServiceType.EglDedicated");
		end
generates 
		if ((EglAny.ezeBox(e1) == EglAny.ezeBox(ServiceType.EglDedicated))) {

so the compare is != when it should be ==.
Comment 1 Matt Heitz CLA 2011-09-20 09:03:43 EDT

*** This bug has been marked as a duplicate of bug 358102 ***