Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356123

Summary: Equivalence of egl.lang.EglString and eglx.lang.EString
Product: z_Archived Reporter: Scott Greer <greer>
Component: EDTAssignee: Project Inbox <edt.mofmodel-inbox>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: jeffdouglas, pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 354617    

Description Scott Greer CLA 2011-08-29 17:48:56 EDT
In the FVT testcases there is this:

			a AnyException = new AnyException;  
			a.messageID = "THROWIT";

JavaScript is generating this as an ezeCast, which is completely bogus.  The root problem is that somewhere in the compiler / MOF model, it doesn't understand the inherent equivalency of these two types so it produces an implicit AsExpression.

I've spoken to Paul about this and he agrees that this is a bug.
Comment 1 Paul Harmon CLA 2011-08-30 11:31:25 EDT
I have updated IRUtils to check for the types EBoolean/EGLBoolean and EString/EGLString. These types are now considered to be equivalent, so no AS expression will be created.
Comment 2 Scott Greer CLA 2011-08-30 17:36:58 EDT
Verified