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

[Policy compiler] Warning or error for unused variables. #1043

Open
seirl opened this issue Oct 21, 2024 · 1 comment
Open

[Policy compiler] Warning or error for unused variables. #1043

seirl opened this issue Oct 21, 2024 · 1 comment

Comments

@seirl
Copy link
Collaborator

seirl commented Oct 21, 2024

Change
When declaring a variable in the variables block, there should be a warning if the variable is unused in the rest of the policy.

@TristonianJones
Copy link
Collaborator

It's a good feature for helping eliminate dead code, but I'll have to think about how to introduce it since it's not technically an error

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

No branches or pull requests

2 participants