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

Bug 357530

Summary: TypeCastException on multidimensional array assignment
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-13 13:54:08 EDT
Build Identifier: 20110912

Debug or run the following:

program pgm type BasicProgram {}
  myString string;
  twoDimensionalArray string[][] =  [[ "one", "two" ], [ "three", "four" ],
                                        [ "five", "six" ] ];
  function main()
	myString = twoDimensionalArray[2,1];
	SysLib.writeStdout(myString);
  end	
end

Get egl.lang.TypeCastException on the assignment.


Reproducible: Always
Comment 1 Jeff Douglas CLA 2011-09-14 14:14:05 EDT

*** This bug has been marked as a duplicate of bug 356528 ***