Skip to content

[7.x.x] Raise XPTY0004 when declare context item is not given exactl… - #245

Open
Laurettta wants to merge 1 commit into
develop-7.x.xfrom
7.x.x/hotfix/declare-context-item-must-be-one-item
Open

Laurettta wants to merge 1 commit into
develop-7.x.xfrom
7.x.x/hotfix/declare-context-item-must-be-one-item

Conversation

@Laurettta

Copy link
Copy Markdown

declare context item now raises XPTY0004 if the value is empty or has more than one item. Added a test for it.

Closes #4946

@cla-bot cla-bot Bot added the cla-signed label Oct 30, 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.

@Laurettta
Laurettta force-pushed the 7.x.x/hotfix/declare-context-item-must-be-one-item branch from 2ac2cc5 to df1ef43 Compare November 2, 2026 15:08
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