-
Notifications
You must be signed in to change notification settings - Fork 968
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
AssertionError when setting type for UserDefinedType
#1594
Comments
UserDefinedType
Hey Fred, we chatted on telegram. Just leaving some notes... slither/slither/slithir/convert.py Lines 772 to 774 in 4c976d5
|
This is related to something like:
I believe #1539 fixes this although I think we could improve alias support more broadly with a different approach than is currently implemented in Slither |
Leaving some notes for #1594 and #1452 - I tried handling the the possibility of an AssertionError being raised during the creation of the user_defined_type object using try and except statement. and then I performed type checking and alias resolution on the t object as well as alias resolution for a given alias object and module as follows : from typing import Union, TYPE_CHECKING, Tuple pylint: disable=import-outside-toplevelclass UserDefinedType(Type):
The output is : |
Describe the issue:
After installing the latest slither version 0.9.2 I try to run
slither .
against my foundry project. unfrotunately I get the following trace below. Unfortunately the repo is currently closed source. Can I provide any more information?Code example to reproduce the issue:
its a pretty standard foundry repo that cant be shared currently
Version:
0.9.2
Relevant log output:
The text was updated successfully, but these errors were encountered: