Skip to content
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

[Bug] Unused variable not raised if variable was overwritten in Inline If #988

Closed
bhirsz opened this issue Oct 29, 2023 · 0 comments · Fixed by #989
Closed

[Bug] Unused variable not raised if variable was overwritten in Inline If #988

bhirsz opened this issue Oct 29, 2023 · 0 comments · Fixed by #989
Assignees
Labels
bug Something isn't working
Milestone

Comments

@bhirsz
Copy link
Member

bhirsz commented Oct 29, 2023

Following code:


Inline If - Overwritten Variable
    ${var}    Set Variable    default
    ${var}    IF    condition    Use    ${var}

should raise unused-variable

@bhirsz bhirsz added the bug Something isn't working label Oct 29, 2023
@bhirsz bhirsz added this to the 4.2.1 milestone Oct 29, 2023
@bhirsz bhirsz self-assigned this Oct 29, 2023
@bhirsz bhirsz modified the milestones: 4.2.1, 4.2.2 Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant