We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caused at runtime by tail-call optimizations:
let $f := fn($p, $self) as xs:integer { if((1 to 10000)[$p + 1] <= 5000) then $self($p + 1, $self) else $p } return $f(1, $f)
Expected: 5000 Result: [XPTY0004] Cannot convert empty-sequence() to xs:integer: ().
5000
[XPTY0004] Cannot convert empty-sequence() to xs:integer: ().
The text was updated successfully, but these errors were encountered:
Possibly related:
let $a := %basex:inline(0) fn($f) as element() { $f() } return $a(fn() { <xml/> })
Expected: <xml/> Returned: [XPTY0004] Cannot convert empty-sequence() to element(): ().
<xml/>
[XPTY0004] Cannot convert empty-sequence() to element(): ().
→ This one has been fixed by a recent commit.
Sorry, something went wrong.
[MOD] XQuery: Tail-call optimization optimizations. #2314
a16dea2
No branches or pull requests
Caused at runtime by tail-call optimizations:
Expected:
5000
Result:
[XPTY0004] Cannot convert empty-sequence() to xs:integer: ().
The text was updated successfully, but these errors were encountered: