Community
Participate
Working Groups
My EGL library below gets this validation error: IWN.VAL.6653.e 10/49 LogResults - eglstring and string are not compatible types in the expression message=info. At line 10 in file \FrameworkMini\eglsource\explore\LogResults.egl package explore; library LogResults {} function assertTrue(info string, flag boolean) if (flag) syslib.writeStdOut("all good"); else syslib.writeStdOut("going to throw the exception"); throw new AssertionFailedException{message = info}; end end function assertTrue2(info string, flag boolean) local string = "loc " + info; if (flag) syslib.writeStdOut("all good"); else syslib.writeStdOut("going to throw the exception"); oopsy AssertionFailedException; oopsy.message = info; throw oopsy; end end end Record AssertionFailedException type Exception end
no longer get validation messages
verified
Closing this defect.