-
Notifications
You must be signed in to change notification settings - Fork 985
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]: Custom errors with interfaces are not supported #1173
Labels
Comments
0xalpharush
added
bug
Something isn't working
and removed
bug-candidate
Bugs reports that are not yet confirmed
labels
Apr 16, 2022
Thanks for reporting this. I get the same error on dev, too. |
0xalpharush
changed the title
[Bug-Candidate]: Custom errors with interfaces are not supported
[Bug]: Custom errors with interfaces are not supported
Apr 16, 2022
Tested with 0.8.3 - this is still present |
This was referenced Jun 17, 2022
Closed
This works fine for address types but not for contract types. The AST produced for slither/slither/solc_parsing/expressions/expression_parsing.py Lines 447 to 453 in db703d8
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue:
Custom errors which have contracts/interface types as arguments are not support properly.
Code example to reproduce the issue:
Also note that Solidity accepts:
And that will also result in the same issue in slither.
Version:
0.8.2
Relevant log output:
The text was updated successfully, but these errors were encountered: