Skip to content

Deprecate using VAR without a value #5439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pekkaklarck opened this issue May 20, 2025 · 0 comments
Open

Deprecate using VAR without a value #5439

pekkaklarck opened this issue May 20, 2025 · 0 comments

Comments

@pekkaklarck
Copy link
Member

The motivation is using that syntax later for promoting the specified variable to a different scope like:

VAR    ${X}    scope=SUITE

This enhancement itself is proposed by #5369 and it is scheduled for RF 8.0. The syntax currently creates a variable with an empty string as its value and that needs to be deprecated before the syntax can be changed.

We need to decide should we deprecate all VAR usages without a value or only when it is used with a ${scalar} and an explicit scope is specified. For details see this comment of the aforementioned issue.

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

No branches or pull requests

1 participant