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
Max member of library.identifier doesn't work properly Relevant code here
slither/slither/visitors/slithir/expression_to_slithir.py
Line 416 in 4c976d5
library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } } contract Test { function test() public returns(Math.Rounding){ return type(Math.Rounding).max; } }
0.9.2
line 419, in _post_member_access assert isinstance(type_expression_found, Identifier) AssertionError
The text was updated successfully, but these errors were encountered:
Prob a similar fix as this #1574
Sorry, something went wrong.
No branches or pull requests
Describe the issue:
Max member of library.identifier doesn't work properly
Relevant code here
slither/slither/visitors/slithir/expression_to_slithir.py
Line 416 in 4c976d5
Code example to reproduce the issue:
Version:
0.9.2
Relevant log output:
The text was updated successfully, but these errors were encountered: