| Summary: | JavaScipt gen generates in correct code for String.IndexOf | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Joseph Vincens <jvincens> |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
added the missing function |
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