We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a variable is used as the length of an array, it will not be considered as used
contract C { uint constant X = 100; uint[X] array; function f() external{ array[0] = 1; } }
We need to document all the places that can have an expression:
node.expression
variable.expression
length
ArrayType
The text was updated successfully, but these errors were encountered:
Unused variable: Check for array length expressions (fix #167)
0ad0777
Fixed in 0ad0777
Sorry, something went wrong.
No branches or pull requests
If a variable is used as the length of an array, it will not be considered as used
We need to document all the places that can have an expression:
node.expression
variable.expression
length
of anArrayType
The text was updated successfully, but these errors were encountered: