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

Bug 356868

Summary: JavaScipt gen generates in correct code for String.IndexOf
Product: z_Archived Reporter: Joseph Vincens <jvincens>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Joseph Vincens CLA 2011-09-06 18:00:22 EDT
Given the EGL
		str string = "joe";
		if(str.indexof("jo") > 0)

Javascript gen generates:
            var str = "";
            str = "joe";
            var eze$Temp1 = "";
            eze$Temp1 = "jo";
            if (((egl.egl.lang.EString.indexOf(str, eze$Temp1) > 0))) {


egl.egl.lang.EString.indexOf is undefined
Comment 1 Joseph Vincens CLA 2011-09-08 08:24:36 EDT
added the missing function