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

Bug 356530

Summary: TypeCastException on assignment of multidimensional int to string
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jeffdouglas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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