Skip to content
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

Global enums and structs #12

Merged
merged 2 commits into from
Aug 7, 2020
Merged

Global enums and structs #12

merged 2 commits into from
Aug 7, 2020

Conversation

iamdefinitelyahuman
Copy link
Owner

What I did

When determining contract dependencies, properly handle enums and structs.

Related issue: eth-brownie/brownie#712

How I did it

Check nodeType and handle the node differently depending on ContractDefinition, StructDefinition or EnumDefinition.

How to verify it

Run tests. I've added a new case specifically around this.

Checklist

  • I have confirmed that my PR passes all linting checks
  • I have included test cases
  • I have updated the documentation (README.md)
  • I have added an entry to the changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant