| Summary: | enumeration compare doesn't generate the correct code | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Joseph Vincens <jvincens> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mheitz |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 358102 *** |
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 ==.