Community
Participate
Working Groups
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 (({eze$$value : {eze$$value : e1, eze$$signature : "eglx.rest.ServiceType"}, eze$$signature : "eglx.rest.ServiceType"} == {eze$$value : {eze$$value : egl.eglx.rest.ServiceType.EglDedicated, eze$$signature : "eglx.rest.ServiceType"}, eze$$signature : "eglx.rest.ServiceType"})) { egl.eglx.lang.SysLib.writeStdout(eze$Temp2); } else { egl.eglx.lang.SysLib.writeStdout(eze$Temp3); } and the compare fails
Since IRUtils.makeCompatible is used by JS this is probably a duplicate of 358102 - IRUtils.makeCompatible adds BoxingExpressions to enum comparison. 358102 is fixed I will verify that it also fixes JS gen.
fixed
verified