[Bug 3830] Static typing of function declarations (K-Function-Prolog)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3830





------- Comment #1 from nick@cbcl.co.uk  2006-10-13 17:28 -------
The following function from K2-FunctionProlog-7 fails to static type check

declare function local:myFunction() as xs:float
{
        4.0
};


as 4.0 is xs:decimal, but the return type is of xs:float

Received on Friday, 13 October 2006 17:28:40 UTC