BaseXdb / basex

BaseX Main Repository.
http://basex.org
BSD 3-Clause "New" or "Revised" License
684 stars 265 forks source link

XQuery: Function call with function(*) parameter type #2263

Closed ChristianGruen closed 9 months ago

ChristianGruen commented 9 months ago
let $f := fn($f as function(*)) { fold-left(1, (), $f) }
return $f(true#0)

Returns: NullPointerException: Cannot read the array length because "org.basex.query.expr.Expr.funcType().argTypes" is null Expected: true