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

Bug 357855

Summary: Error in generated Java assigning int to any
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-09-15 14:23:28 EDT
20110915 build

There's an error in the generated Java for the following code:

program test type BasicProgram {}	
	function main()
		myInt INT = 42;
		myAny any = myInt;	
	end	
end

Type mismatch: cannot convert from int to EglAny
Comment 1 Matt Heitz CLA 2011-09-15 15:39:40 EDT
I just tried it using the latest code from CVS, and the problem is gone.  Should be OK in the next build too.
Comment 2 broy2 CLA 2011-09-20 12:37:38 EDT
Verified in 20110920 build.