Skip to content

Commit

Permalink
add the parsed child
Browse files Browse the repository at this point in the history
  • Loading branch information
samczsun committed Sep 5, 2020
1 parent 9555104 commit f518488
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slither/solc_parsing/types/compact_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def parse_struct_definition(raw: Dict) -> StructDefinition:
for child in raw['members']:
child_parsed = parse(child)
assert isinstance(child_parsed, VariableDeclaration)
members_parsed.append(child_parsed)

return StructDefinition(members_parsed, **_extract_decl_props(raw))

Expand Down

0 comments on commit f518488

Please sign in to comment.