Skip to content

[7.x.x] typed for variable no longer failson an empty return - #248

Open
Laurettta wants to merge 1 commit into
develop-7.x.xfrom
7.x.x/hotfix/for-loop-type-check
Open

Laurettta wants to merge 1 commit into
develop-7.x.xfrom
7.x.x/hotfix/for-loop-type-check

Conversation

@Laurettta

Copy link
Copy Markdown

A for variable with a type, like for $x as xs:string in 'X' return (), no longer gives an "Invalid cardinality" error when it returns nothing.

Closes #5050

@cla-bot cla-bot Bot added the cla-signed label Nov 5, 2026
@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant