Returning numbers sometimes fails.
----------------------------------

                 Key: MASHUP-698
                 URL: https://wso2.org/jira/browse/MASHUP-698
             Project: WSO2 Mashup Server
          Issue Type: Bug
         Environment: 1.0.2
            Reporter: Jonathan Marsh
            Assignee: Channa Gunawardena
             Fix For: 1.1


test.outputType = "number";
function test() {
    print(typeof(parseInt(33)));
    return parseInt(33);
}

test2.outputType = "number";
function test2() {
    print(typeof(33));
    return 33;
}

The first works fine, the second fails.  Both record the type of the return 
value as "number".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to