| Summary: | "returning to" statement got the wrong param counting compilation for callback function | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Xin Wu <cdlwuxin> |
| Component: | EDT | Assignee: | Project Inbox <edt.compiler-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | cdlwuxin |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
service param should add "in" statement |
Build Identifier: 20110927 nightly build This happens in service call, if the service contains a parameter. The "returning to" statement got the wrong param counting compilation. And will show compile error. Reproducible: Always Steps to Reproduce: 1. Create Web Client with Service Project 2. Create service with param and return type function echo(str string) returns(string) return("hello" + str); end 3. Config the service deployment and resource binding correctly. 4. Create RUIHandle, add call statement and callback function function Button1_onClick(event Event in) call srv.echo("name") returning to CallBack; end function CallBack(str string in) TextField.text = str; end 5. The "returning to" got compilation error as follow IWN.VAL.3396.e 29/41 h1 - The "returning to" or "onexception" function CallBack requires 2 parameter(s). At line 29 in file \test\EGLSource\client\h1.egl 6. The code is right with one parameter, and there should not be a compilation error.