Closed ChristianGruen closed 2 months ago
declare function local:a($e, $v) { if ($e) then local:a($e, 0) }; declare function local:b($e, $v) { local:a($e, $v) }; <a/> ! (local:b(x, random:integer()))
Expected: empty sequence
Apparently, the context value is inlined multiple times. This is the optimized expression:
declare function local:a($e, $v) { if($e) { local:a($e, 0) } }; random:integer() -> local:a(x, .)
Expected: empty sequence
Apparently, the context value is inlined multiple times. This is the optimized expression: