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

Bug 354631

Summary: Assign to array element not correct
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: greer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Justin Spadea CLA 2011-08-12 10:46:25 EDT
EGL:
s string[1];
s[1] = "test";


JavaScript:
var s = null;
egl.checkNull(s)[s.checkIndex(1 - 1)];

It's missing the RHS of the assignment statement.
Comment 1 Scott Greer CLA 2011-09-01 13:33:26 EDT
Implemented.
Comment 2 Justin Spadea CLA 2011-09-08 14:17:10 EDT
Verified