| Summary: | Assign String value to float type will cause runtime error | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Huang Ji Yong <hjiyong> |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | greer |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed. Verified in 201110202102 |
Testcase: aFloat Float; function start() aFloat = "300"; syslib.writeStdout(aFloat); end ------------ The generated js for aFloat = "300" is this.aFloat = egl.eglx.lang.EFloat64.fromEString("300"); Where formEString method is undefined. ----------- In RBD, this RUIHandler works fine. If string type is not allowed to assign to float type, a compile error should be generated.