| Summary: | Setting exception record's message field gets validaiton error about compatible types | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.compiler-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jqian |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
no longer get validation messages verified Closing this defect. |
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