-
Notifications
You must be signed in to change notification settings - Fork 979
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-Candidate]: Ternary operation not handled None(<class 'NoneType'>) #1153
Labels
bug
Something isn't working
Comments
Hi @revmischa , thank you for reporting this. I confirm that I can reproduce the bug with slither 0.8.3. @0xalpharush: can you look into the missing ternary operator? |
montyly
added
bug
Something isn't working
and removed
bug-candidate
Bugs reports that are not yet confirmed
labels
Apr 27, 2022
It looks like the unused parameter of the ternary assignment is represented as a None expression
|
I've encountered a similar issue when running slither as follow:
File "/home/naszam/.local/lib/python3.8/site-packages/slither/utils/expression_manipulations.py", line 144, in copy_expression
raise SlitherException(
slither.exceptions.SlitherException: Ternary operation not handled uint256(<class 'slither.core.expressions.elementary_type_name_expression.ElementaryTypeNameExpression'>)
Error:
Ternary operation not handled uint256(<class 'slither.core.expressions.elementary_type_name_expression.ElementaryTypeNameExpression'>)
Please report an issue to https://github.com/crytic/slither/issues repo: makerdao/dss-direct-deposit#46 |
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue:
slither 0xed3a954c0adfc8e3f85d92729c051ff320648e30
Code example to reproduce the issue:
0xed3a954c0adfc8e3f85d92729c051ff320648e30
Version:
0.8.2
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: