Skip to content

Commit

Permalink
fix: mapping to type value lookup with top-level constant
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalpharush committed Sep 26, 2024
1 parent 29ca19a commit 0cfaa68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/solc_parsing/solidity_types/type_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def parse_type(
scope = custom_error.contract.file_scope

sl = caller_context.compilation_unit
next_context = caller_context.slither_parser
next_context = caller_context
structures_direct_access = list(scope.structures.values())
all_structuress = [c.structures for c in scope.contracts.values()]
all_structures = [item for sublist in all_structuress for item in sublist]
Expand Down

0 comments on commit 0cfaa68

Please sign in to comment.