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

Bug 362733

Summary: Exception on EList function setElement
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-11-02 18:23:25 EDT
Use EUNIT to run:

library setElement
    myNames string[] =["Carolina", "State", "Duke"];
    function removeAll(){@Test}
        try
            myNames.setElement("Meredith", 1);
        onException(oops AnyException)
            LogResult.failed("Exception");
            exit;
        end
        LogResult.assertStringEqual1("Meredith", myNames[1]);
    end
end

When debugging, I see:
eglx.javascript.JavaScriptObjectException this.myNames.setElement is not a function
Comment 1 broy2 CLA 2011-11-21 17:15:06 EST
Fixed in 20111121 build.
Comment 2 broy2 CLA 2011-11-21 17:15:20 EST
Verified.