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

Bug 359142

Summary: Error in generated Java on myDictionary.getValues();
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Matt Heitz <mheitz>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-09-27 16:51:40 EDT
20110927 install build

program getValues type BasicProgram {}	
	  myDictionary Dictionary 
    {
      ID        = 5,
      lastName  = "Twain",
      firstName = "Mark"
    };
    values any[];
	
	function main()
		values = myDictionary.getValues();
	end	
end

Type mismatch: cannot convert from EList<Object> to EList<EAny>
Comment 1 Matt Heitz CLA 2011-09-28 14:02:40 EDT
I changed the return type of EDictionary.getValues() in the runtime from a list of Objects to a list of EAnys.  The testcase compiles now, and the array has the correct values in it.
Comment 2 broy2 CLA 2011-09-29 09:50:43 EDT
Verified in 20110929 build.