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

Bug 353500

Summary: Compile error assigning small integer literal to an ANY
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jeffdouglas, lasher
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Justin Spadea CLA 2011-08-01 10:01:21 EDT
myany any = 10;

Compile error at: myany = EInt16.ezeBox(10);

It needs "10" to be cast to a short. This isn't a problem when the value is large enough to use EInt32 or EInt64.
Comment 1 Jeff Douglas CLA 2011-08-05 09:29:02 EDT
fixed
Comment 2 Justin Spadea CLA 2011-09-13 17:43:29 EDT
Verified