Skip to content

xquery:fork-join, module imports #2678

@ChristianGruen

Description

@ChristianGruen
(: x.xq :)
import module namespace x = 'x' at 'x.xqm';
xquery:fork-join((1 to 16) ! fn() { sum($x:V) })

(: x.xqm :)
module namespace x = 'x';
declare variable $x:V := (1 to 1000000) ! math:sqrt(.);

…results in:

Stopped at x.xqm, 2/18:
[XQDY0054] Static variable depends on itself: $x:V

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions