Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356530 - TypeCastException on assignment of multidimensional int to string
Summary: TypeCastException on assignment of multidimensional int to string
Status: CLOSED DUPLICATE of bug 356528
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-01 17:04 EDT by broy2 CLA
Modified: 2017-02-23 14:18 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-01 17:04:03 EDT
Build Identifier: 20110901

Debug or run the following program.
Get: egl.lang.TypeCastException

program exception type BasicProgram {}	
	myInt int = 3;
	my2DimensionInt  INT[][] = [[1,2],[3,4]];
	myString string;	
	function main()
		myString = myInt;
		myString = my2DimensionInt[2,2];      // Exception
		sysLib.writeStdout(myString);
	end	
end

Reproducible: Always
Comment 1 Jeff Douglas CLA 2011-09-14 13:45:58 EDT
This is a duplicate of 356528.

*** This bug has been marked as a duplicate of bug 356528 ***
Comment 2 broy2 CLA 2011-09-20 12:23:41 EDT
OK