Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357855 - Error in generated Java assigning int to any
Summary: Error in generated Java assigning int to any
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 14:23 EDT by broy2 CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.