Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix: specify sum type in abigen to avoid ambiguity #2383

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

prestwich
Copy link
Collaborator

Motivation

https://github.com/grantweii/ethers-macro-bug

Solution

Specify the output of the sum to avoid ambiguity when other types implementing Sum<usize> are in scope

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich added the bug Something isn't working label Apr 28, 2023
@prestwich prestwich self-assigned this Apr 28, 2023
@prestwich
Copy link
Collaborator Author

CI failure is unrelated

@prestwich prestwich merged commit 68bc044 into master Apr 28, 2023
@prestwich prestwich deleted the prestwich/specify-sum-type branch April 28, 2023 16:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants