cel-go icon indicating copy to clipboard operation
cel-go copied to clipboard

[Policy compiler] Warning or error for unused variables.

Open seirl opened this issue 1 year ago • 1 comments

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.

seirl avatar Oct 21 '24 09:10 seirl

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

TristonianJones avatar Oct 27 '24 18:10 TristonianJones