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

fix(abigen): support functions with different casing #972

Merged
merged 1 commit into from Feb 27, 2022

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Feb 27, 2022

Motivation

Close #958

Solution

Previously we used to_lowercase as the identifier to determine if there are duplicated function calls, this ignored cases like fooBar and FOO_BAR. Instead we use snake_case as baseline now to catch these as well.

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@gakonst gakonst merged commit 10fcf60 into gakonst:master Feb 27, 2022
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.

Abigen: Conflicting struct and method definitions
2 participants