Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359142 - Error in generated Java on myDictionary.getValues();
Summary: Error in generated Java on myDictionary.getValues();
Status: CLOSED FIXED
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: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 16:51 EDT by broy2 CLA
Modified: 2017-02-23 14:19 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-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.